From df8771c2b9557751aa655ef012e28e4cc7ae40dd Mon Sep 17 00:00:00 2001 From: Dan Lipsitt Date: Wed, 4 Dec 2013 18:25:32 -0800 Subject: iperf 3.0.2 (new formula) Net performance measurement tool. --- Library/Formula/iperf3.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/iperf3.rb (limited to 'Library') 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 -- cgit v1.2.3