aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/iftop.rb
diff options
context:
space:
mode:
authorJannis Leidel2009-11-18 23:16:37 +0100
committerMax Howell2009-12-02 12:53:00 +0000
commit97350d657de86ab38d9ac8a0f0caf3f20afdf1be (patch)
tree5880c80c70032888af7d97847c64b3f2f4f31acd /Library/Formula/iftop.rb
parent90ca0085e5d2eab9dc63427259a5aa6f006f49fb (diff)
downloadhomebrew-97350d657de86ab38d9ac8a0f0caf3f20afdf1be.tar.bz2
Added iftop formula.
"iftop does for network usage what top does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts."
Diffstat (limited to 'Library/Formula/iftop.rb')
-rw-r--r--Library/Formula/iftop.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/iftop.rb b/Library/Formula/iftop.rb
new file mode 100644
index 000000000..a65f57dca
--- /dev/null
+++ b/Library/Formula/iftop.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Iftop <Formula
+ url 'http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz'
+ homepage 'http://www.ex-parrot.com/~pdw/iftop/'
+ md5 '062bc8fb3856580319857326e0b8752d'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{man}"
+ system "make install"
+ end
+end