aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Spiess-Knafl2014-11-20 23:00:40 +0000
committerMike McQuaid2014-11-25 10:12:45 +0000
commitb0ed382157b4585a09320791852ff8c5e1621a80 (patch)
treefadbb91773a31965562fe1f4368747d97542e0bf
parenta2a5488207612f811f28f3e025d66de5cb1f7c72 (diff)
downloadhomebrew-b0ed382157b4585a09320791852ff8c5e1621a80.tar.bz2
libmicrohttpd: optional SSL support.
Closes #34357. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/libmicrohttpd.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/libmicrohttpd.rb b/Library/Formula/libmicrohttpd.rb
index d89dda364..243463118 100644
--- a/Library/Formula/libmicrohttpd.rb
+++ b/Library/Formula/libmicrohttpd.rb
@@ -6,6 +6,13 @@ class Libmicrohttpd < Formula
mirror "http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.38.tar.gz"
sha1 "1d0a6685b984b022a6be565f7b179c449944b3f1"
+ option "with-ssl", "Enable SSL support"
+
+ if build.with? "ssl"
+ depends_on "libgcrypt"
+ depends_on "gnutls"
+ end
+
bottle do
cellar :any
sha1 "f0da1b25c2538f70f5eb7cae3dc7e6953aca6e8a" => :yosemite