netperf 2.6.0

Closes Homebrew/homebrew#18197.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Tom Burns 2013-03-03 00:24:53 -05:00 committed by Adam Vandenberg
parent cc7d272afb
commit 0d0e2eb137

17
Formula/netperf.rb Normal file
View file

@ -0,0 +1,17 @@
require 'formula'
class Netperf < Formula
homepage 'http://netperf.org'
url 'ftp://ftp.netperf.org/netperf/netperf-2.6.0.tar.bz2'
sha1 '3e1be4e7c3f7a838c4d5c00c6d20a619b320bfef'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/netperf -h | cat"
end
end