aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/http_load.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/http_load.rb b/Library/Formula/http_load.rb
new file mode 100644
index 000000000..2dd1e2dc6
--- /dev/null
+++ b/Library/Formula/http_load.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class HttpLoad < Formula
+ homepage 'http://www.acme.com/software/http_load/'
+ url 'http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz'
+ version '20060312'
+ sha1 'a989253cf32f9ef038dfaa2c254773ea9912137f'
+
+ def install
+ bin.mkpath
+ man1.mkpath
+ args = %W[
+ BINDIR=#{bin}
+ LIBDIR=#{lib}
+ MANDIR=#{man1}
+ CC=#{ENV.cc}
+ CFLAGS=#{ENV.cflags}
+ ]
+ system "make", *args
+ system "make", "install", *args
+ end
+end