aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/iperf.rb
diff options
context:
space:
mode:
authorDan Sully2009-09-24 06:12:36 -0700
committerMax Howell2009-09-30 01:24:32 +0100
commit1406a66a47716b91d88d167c2cae683fdcc77c9e (patch)
treefbc907f48cf3cf23a0f3e4b81282afd311ebbb51 /Library/Formula/iperf.rb
parent1647c2a9c74497cb95e4c9e25af168e220c9d034 (diff)
downloadhomebrew-1406a66a47716b91d88d167c2cae683fdcc77c9e.tar.bz2
Iperf formula.
Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss.
Diffstat (limited to 'Library/Formula/iperf.rb')
-rw-r--r--Library/Formula/iperf.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/iperf.rb b/Library/Formula/iperf.rb
new file mode 100644
index 000000000..ffc9e4b3f
--- /dev/null
+++ b/Library/Formula/iperf.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Iperf <Formula
+ @url='http://downloads.sourceforge.net/project/iperf/iperf/2.0.4%20source/iperf-2.0.4.tar.gz'
+ @homepage='http://iperf.sourceforge.net/'
+ @md5='8c5bc14cc2ea55f18f22afe3c23e3dcb'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end