iperf 3.0.2 (new formula)
Net performance measurement tool.
This commit is contained in:
parent
4727803e94
commit
a53cb0d2ad
1 changed files with 21 additions and 0 deletions
21
Formula/iperf3.rb
Normal file
21
Formula/iperf3.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue