From 84997e7ea6f9d1fc553bfc76847d439f0c01050f Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sat, 8 Nov 2014 02:29:11 +0000 Subject: 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 --- Library/Formula/apib.rb | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3