homebrew-core/Formula/httperf.rb

19 lines
511 B
Ruby
Raw Normal View History

require 'formula'
2009-10-12 18:35:25 +00:00
2011-03-10 05:11:03 +00:00
class Httperf < Formula
url 'http://httperf.googlecode.com/files/httperf-0.9.0.tar.gz'
homepage 'http://code.google.com/p/httperf/'
2009-10-12 18:35:25 +00:00
md5 '2968c36b9ecf3d98fc1f2c1c9c0d9341'
def options
[['--enable-debug', 'build with support for the --debug=N option']]
end
2009-10-12 18:35:25 +00:00
def install
debug = ARGV.include?('--enable-debug') ? '--enable-debug' : '--disable-debug'
system "./configure", "--prefix=#{prefix}", debug, "--disable-dependency-tracking"
2009-10-12 18:35:25 +00:00
system "make install"
end
end