From 498ae0cdc2a8bf06dcf786fdd7cee3e28e88bae3 Mon Sep 17 00:00:00 2001 From: Dominik Tobschall Date: Tue, 22 Oct 2013 16:35:54 +0200 Subject: apib 1.0 Closes #23438. Signed-off-by: Adam Vandenberg --- Library/Formula/apib.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/apib.rb diff --git a/Library/Formula/apib.rb b/Library/Formula/apib.rb new file mode 100644 index 000000000..8583e4091 --- /dev/null +++ b/Library/Formula/apib.rb @@ -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 -- cgit v1.2.3