mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
apib 1.0
Closes #23438. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
73e47d50d5
commit
498ae0cdc2
1 file changed
+17
@@ -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
|
||||
Reference in new issue
Block a user