aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGert Van Gool2013-11-01 11:13:17 -0700
committerMike McQuaid2013-11-01 11:14:23 -0700
commit3244b749d727c0f7b76e4882004d8ecde735549b (patch)
tree9b851095ab6e706c03d404f21bc6c0f11a5d26f2 /Library
parentd41254b6bf52d7e81b9c39385cc0d0653fd47ecf (diff)
downloadhomebrew-3244b749d727c0f7b76e4882004d8ecde735549b.tar.bz2
mtr 0.85 (and fix 10.9)
Closes #23659. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mtr.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/mtr.rb b/Library/Formula/mtr.rb
index 256373d11..8b94b43bd 100644
--- a/Library/Formula/mtr.rb
+++ b/Library/Formula/mtr.rb
@@ -2,9 +2,8 @@ require 'formula'
class Mtr < Formula
homepage 'http://www.bitwizard.nl/mtr/'
- url 'http://ftp.de.debian.org/debian/pool/main/m/mtr/mtr_0.82.orig.tar.gz'
- mirror 'ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz'
- sha1 'f1319de27324d85898a9df0a293a438bbaaa12b5'
+ url 'ftp://ftp.bitwizard.nl/mtr/mtr-0.85.tar.gz'
+ sha1 '6e79584265f733bea7f1b2cb13eeb48f10e96bba'
head do
url 'https://github.com/traviscross/mtr.git'
@@ -13,6 +12,11 @@ class Mtr < Formula
depends_on 'pkg-config' => :build
depends_on 'gtk+' => :optional
+ depends_on 'glib' => :optional
+
+ def patches
+ 'https://github.com/traviscross/mtr/commit/edd425.patch'
+ end
def install
# We need to add this because nameserver8_compat.h has been removed in Snow Leopard
@@ -22,6 +26,7 @@ class Mtr < Formula
--prefix=#{prefix}
]
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"