aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ldns.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-06-18 20:16:43 -0700
committerAdam Vandenberg2012-06-18 20:16:43 -0700
commit1be7c11fac57bbd658c5bee6caf396d32017541b (patch)
tree83de933e71b39f03b5e7afaf668c8b45a1ce9cad /Library/Formula/ldns.rb
parent3676b9cb3c9337b1f5829e3a98c01cbe29e037d4 (diff)
downloadhomebrew-1be7c11fac57bbd658c5bee6caf396d32017541b.tar.bz2
ldns 1.6.13
Diffstat (limited to 'Library/Formula/ldns.rb')
-rw-r--r--Library/Formula/ldns.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/ldns.rb b/Library/Formula/ldns.rb
index b262419c2..5b5d78bb7 100644
--- a/Library/Formula/ldns.rb
+++ b/Library/Formula/ldns.rb
@@ -6,8 +6,8 @@ end
class Ldns < Formula
homepage 'http://nlnetlabs.nl/projects/ldns/'
- url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.12.tar.gz'
- sha1 '1d61df0f666908551d5a62768f77d63e727810aa'
+ url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.13.tar.gz'
+ sha1 '859f633d10b763f06b602e2113828cbbd964c7eb'
depends_on 'swig' if build_bindings?
@@ -16,9 +16,14 @@ class Ldns < Formula
end
def install
- args = ["--prefix=#{prefix}", "--disable-gost", "--with-drill", "--with-examples"]
+ # gost requires OpenSSL >= 1.0.0
+ args = %W[
+ --prefix=#{prefix}
+ --disable-gost
+ --with-drill
+ ]
args << "--with-pyldns" if build_bindings?
- ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib"
+
system "./configure", *args
system "make"
system "make install"