homebrew-core/Formula/apib.rb
Mike McQuaid 7f000e41f8 formulae: don't use GitHub zip files.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00

17 lines
404 B
Ruby

require 'formula'
class Apib < Formula
homepage 'https://github.com/apigee/apib'
url 'https://github.com/apigee/apib/archive/APIB_1_0.tar.gz'
sha1 'd7a5a2accd6bda7efeca433141b5df44ccd7f0b0'
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