Closes #23438.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Dominik Tobschall authored and Adam Vandenberg committed 2013-11-22 18:05:20 -08:00
1 parent 73e47d50d5
commit 498ae0cdc2
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
require 'formula'
class Apib < Formula
homepage 'https://github.com/apigee/apib'
url 'https://github.com/apigee/apib/archive/APIB_1_0.zip'
sha1 '25d5b29bfab858e71ca166d29e9218bd39ba5cc6'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
bin.install 'apib', 'apibmon'
end
test do
system "#{bin}/apib", "-c 1", "-d 1", "http://www.google.com"
end
end