diff options
| author | Dominyk Tiller | 2014-11-08 02:29:11 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-08 12:32:36 +0000 |
| commit | 84997e7ea6f9d1fc553bfc76847d439f0c01050f (patch) | |
| tree | fd937b9386e5bdc4e15d05bb7bf8a04abb9d88e1 /Library | |
| parent | 5d4c643997f4dc2c139e138ce4ac68aed15ea0d3 (diff) | |
| download | homebrew-84997e7ea6f9d1fc553bfc76847d439f0c01050f.tar.bz2 | |
apid: added openssl dependency
Additional OpenSSL dependency, and getting to exercise the new :apr
dependency as well to account for the hard links to apr-1 in the
configure & make scripts.
Closes #34010.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/apib.rb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Formula/apib.rb b/Library/Formula/apib.rb index 399a3a999..24ce387ea 100644 --- a/Library/Formula/apib.rb +++ b/Library/Formula/apib.rb @@ -1,17 +1,21 @@ -require 'formula' +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' + homepage "https://github.com/apigee/apib" + url "https://github.com/apigee/apib/archive/APIB_1_0.tar.gz" + sha1 "d7a5a2accd6bda7efeca433141b5df44ccd7f0b0" + revision 1 + + depends_on :apr => :build + depends_on "openssl" def install system "./configure", "--prefix=#{prefix}" system "make" - bin.install 'apib', 'apibmon' + bin.install "apib", "apibmon" end test do - system "#{bin}/apib", "-c 1", "-d 1", "http://www.google.com" + system "#{bin}/apib", "-c 1", "-d 1", "https://www.google.com" end end |
