diff options
| -rw-r--r-- | Library/Formula/ldns.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/ldns.rb b/Library/Formula/ldns.rb new file mode 100644 index 000000000..775223e43 --- /dev/null +++ b/Library/Formula/ldns.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Ldns <Formula + url 'http://nlnetlabs.nl/downloads/ldns/ldns-1.6.5.tar.gz' + homepage 'http://nlnetlabs.nl/projects/ldns/' + sha1 '267eea7a8a7af5a373aed6c26084ed9e43bddc4d' + + def install + system "./configure", "--prefix=#{prefix}" + system "make" + system "make install" + Dir.chdir('drill') do + system "./configure", "--prefix=#{prefix}", "--with-ldns=#{prefix}" + system "make" + system "make install" + end + end +end |
