9954c996fa
This update bumps up the version number of ldns to 1.6.10. I also added "--disable-gost", as the openssl shipping with OSX doesn't support this. Finally, I also added a few lines to build and install the ldns example tools. Closes Homebrew/homebrew#7695. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
25 lines
695 B
Ruby
25 lines
695 B
Ruby
require 'formula'
|
|
|
|
class Ldns < Formula
|
|
url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.10.tar.gz'
|
|
homepage 'http://nlnetlabs.nl/projects/ldns/'
|
|
sha1 '7798a32c6f50a4fb7d56ddf772163dc1cb79c1a4'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-gost"
|
|
system "make"
|
|
system "make install"
|
|
|
|
Dir.chdir('drill') do
|
|
system "./configure", "--prefix=#{prefix}", "--with-ldns=#{prefix}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
|
|
Dir.chdir('examples') do
|
|
system "./configure", "--prefix=#{prefix}", "--with-ldns=#{prefix}", "--disable-gost"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|