2010-04-20 20:28:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Autobench < Formula
|
|
|
|
homepage 'http://www.xenoclast.org/autobench/'
|
2012-02-10 04:28:14 +00:00
|
|
|
url 'http://www.xenoclast.org/autobench/downloads/autobench-2.1.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '8c342b50ce36c13d46dc995bc5f08acdead21553'
|
2010-04-20 20:28:35 +00:00
|
|
|
|
|
|
|
depends_on 'httperf'
|
|
|
|
|
|
|
|
def install
|
2012-02-10 04:28:14 +00:00
|
|
|
system "make", "PREFIX=#{prefix}",
|
|
|
|
"MANDIR=#{man1}",
|
|
|
|
"CC=#{ENV.cc}",
|
|
|
|
"CFLAGS=#{ENV.cflags}",
|
|
|
|
"install"
|
2010-04-20 20:28:35 +00:00
|
|
|
end
|
|
|
|
end
|