diff options
| author | Dan Lipsitt | 2013-12-04 18:25:32 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-26 17:19:53 +0000 |
| commit | df8771c2b9557751aa655ef012e28e4cc7ae40dd (patch) | |
| tree | 1255fa7f2bf252f02a03f4390e9236dff5e9b941 /Library | |
| parent | 23b9f69a198b21035f02f7ef288c382addc544ed (diff) | |
| download | homebrew-df8771c2b9557751aa655ef012e28e4cc7ae40dd.tar.bz2 | |
iperf 3.0.2 (new formula)
Net performance measurement tool.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/iperf3.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/iperf3.rb b/Library/Formula/iperf3.rb new file mode 100644 index 000000000..3e32234e0 --- /dev/null +++ b/Library/Formula/iperf3.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Iperf3 < Formula + homepage 'https://github.com/esnet/iperf' + url 'https://github.com/esnet/iperf/archive/3.0.2.tar.gz' + sha1 '3dacb887d4ba1b90c9fbb3ec2ae69389d40c01c8' + head 'https://code.google.com/p/iperf/', :using => :hg + + depends_on :autoconf + + def install + system "./configure", "--disable-debug", + "--prefix=#{prefix}" + system "make", "clean" # there are pre-compiled files in the tarball + system "make", "install" + end + + test do + system "#{bin}/iperf3", "--version" + end +end |
