diff options
| author | David Reynolds | 2009-09-11 20:13:26 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-28 00:20:51 +0100 |
| commit | 2401a8c90218f96692c50d12bbcbef7bcb51e6b2 (patch) | |
| tree | 69682344b4063f445658c5fb2cdb9f9f81208a54 /Library/Formula | |
| parent | 25d0db2cd0d1f70688a03aa41a26d8ba99d1db99 (diff) | |
| download | homebrew-2401a8c90218f96692c50d12bbcbef7bcb51e6b2.tar.bz2 | |
mtr formula
mtr combines the functionality of the 'traceroute' and 'ping' programs in a
single network diagnostic tool.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mtr.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/mtr.rb b/Library/Formula/mtr.rb new file mode 100644 index 000000000..5714cfac7 --- /dev/null +++ b/Library/Formula/mtr.rb @@ -0,0 +1,15 @@ +require 'brewkit' + +class Mtr <Formula + @url='ftp://ftp.bitwizard.nl/mtr/mtr-0.75.tar.gz' + @homepage='http://www.bitwizard.nl/mtr/' + @md5='23baca52d0922c2ecba7eba05317868c' + + def install + # We need to add this because nameserver8_compat.h has been removed in Snow Leopard + ENV['LIBS']= "-lresolv" + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make install" + bin.install "mtr" + end +end |
