homebrew-core/Formula/iperf.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

12 lines
372 B
Ruby

require 'formula'
class Iperf <Formula
@url='http://downloads.sourceforge.net/project/iperf/iperf/2.0.4%20source/iperf-2.0.4.tar.gz'
@homepage='http://iperf.sourceforge.net/'
@md5='8c5bc14cc2ea55f18f22afe3c23e3dcb'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end