homebrew-core/Formula/httperf.rb

19 lines
536 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
homepage 'http://code.google.com/p/httperf/'
url 'https://httperf.googlecode.com/files/httperf-0.9.0.tar.gz'
2012-09-02 19:28:03 +00:00
sha1 '2aa885c0c143d809c0e50a6eca5063090bddee35'
2009-10-12 18:35:25 +00:00
2012-09-02 19:28:03 +00:00
option 'enable-debug', 'Build with debugging support'
2009-10-12 18:35:25 +00:00
def install
2012-09-02 19:28:03 +00:00
debug = build.include?('enable-debug') ? '--enable-debug' : '--disable-debug'
2012-09-02 19:28:03 +00:00
system "./configure", debug,
"--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-10-12 18:35:25 +00:00
system "make install"
end
end