diff options
| author | Baptiste Fontaine | 2014-12-24 16:16:36 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-12-24 11:09:10 -0500 |
| commit | 7affaf91c7a7eb6850d2d77daa4ffe3e65a06e17 (patch) | |
| tree | a42854bf229459cf820e0dcad3da709777f5d82f /Library/Formula | |
| parent | 7160dfd89d6889e0be612c833a1bd5790b98a52d (diff) | |
| download | homebrew-7affaf91c7a7eb6850d2d77daa4ffe3e65a06e17.tar.bz2 | |
mtr 0.86
Closes #35238.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mtr.rb | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/Library/Formula/mtr.rb b/Library/Formula/mtr.rb index 18c0f248b..aabcad227 100644 --- a/Library/Formula/mtr.rb +++ b/Library/Formula/mtr.rb @@ -1,37 +1,27 @@ -require 'formula' - class Mtr < Formula - homepage 'http://www.bitwizard.nl/mtr/' - - stable do - url "ftp://ftp.bitwizard.nl/mtr/mtr-0.85.tar.gz" - sha1 "6e79584265f733bea7f1b2cb13eeb48f10e96bba" - - patch do - url "https://github.com/traviscross/mtr/commit/edd425.diff" - sha1 "c1ed669cdf65d607f75abc729a333b180ee42343" - end - end + homepage "http://www.bitwizard.nl/mtr/" + url "ftp://ftp.bitwizard.nl/mtr/mtr-0.86.tar.gz" + sha1 "2c81d0f4c9296861a1159f07eec6acfb4bebecf7" head do - url 'https://github.com/traviscross/mtr.git' - depends_on "autoconf" => :build + url "https://github.com/traviscross/mtr.git" depends_on "automake" => :build end - depends_on 'pkg-config' => :build - depends_on 'gtk+' => :optional - depends_on 'glib' => :optional + depends_on "autoconf" => :build + depends_on "pkg-config" => :build + depends_on "gtk+" => :optional + depends_on "glib" => :optional def install # We need to add this because nameserver8_compat.h has been removed in Snow Leopard - ENV['LIBS'] = "-lresolv" + ENV["LIBS"] = "-lresolv" args = %W[ --disable-dependency-tracking --prefix=#{prefix} ] - args << "--without-gtk" if build.without? 'gtk+' - args << "--without-glib" if build.without? 'glib' + args << "--without-gtk" if build.without? "gtk+" + args << "--without-glib" if build.without? "glib" system "./bootstrap.sh" if build.head? system "./configure", *args system "make install" |
