61b2307139
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.
12 lines
354 B
Ruby
12 lines
354 B
Ruby
require 'formula'
|
|
|
|
class Httperf <Formula
|
|
url 'ftp://ftp.hpl.hp.com/pub/httperf/httperf-0.9.0.tar.gz'
|
|
homepage 'http://www.hpl.hp.com/research/linux/httperf/'
|
|
md5 '2968c36b9ecf3d98fc1f2c1c9c0d9341'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|