diff options
| author | Dominik Tobschall | 2013-10-22 16:35:54 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-22 18:05:20 -0800 |
| commit | 498ae0cdc2a8bf06dcf786fdd7cee3e28e88bae3 (patch) | |
| tree | 3e96f2a7287fb4a32d96903a29574d36d57fa28b /Library/Formula | |
| parent | 73e47d50d5b6030cba8d410a549a5717439c3a12 (diff) | |
| download | homebrew-498ae0cdc2a8bf06dcf786fdd7cee3e28e88bae3.tar.bz2 | |
apib 1.0
Closes #23438.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/apib.rb | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
