diff options
| author | Ian Lancaster | 2013-07-16 18:45:41 -0400 |
|---|---|---|
| committer | Jack Nagel | 2013-07-17 16:27:38 -0500 |
| commit | 56ca5cb648a53664a16c7da4dee1c78cf135eab5 (patch) | |
| tree | e3541605f8f26858aa2ae77715113ecb53d83fab /Library/Formula | |
| parent | f635c65bcbee338adcc163fa5f4587764d12d63c (diff) | |
| download | homebrew-56ca5cb648a53664a16c7da4dee1c78cf135eab5.tar.bz2 | |
mtr: add HEAD
Closes #21264.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mtr.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mtr.rb b/Library/Formula/mtr.rb index 70f8593a0..40cf0e560 100644 --- a/Library/Formula/mtr.rb +++ b/Library/Formula/mtr.rb @@ -6,8 +6,11 @@ class Mtr < Formula mirror 'ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz' sha1 'f1319de27324d85898a9df0a293a438bbaaa12b5' + head 'https://github.com/traviscross/mtr.git' + depends_on 'pkg-config' => :build depends_on 'gtk+' => :optional + depends_on :automake if build.head? def install # We need to add this because nameserver8_compat.h has been removed in Snow Leopard @@ -17,6 +20,7 @@ class Mtr < Formula --prefix=#{prefix} ] args << "--without-gtk" if build.without? 'gtk+' + system "./bootstrap.sh" if build.head? system "./configure", *args system "make install" end |
