netperf 2.6.0
Closes Homebrew/homebrew#18197. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
cc7d272afb
commit
0d0e2eb137
1 changed files with 17 additions and 0 deletions
17
Formula/netperf.rb
Normal file
17
Formula/netperf.rb
Normal 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
|
Loading…
Reference in a new issue