Permalink
Browse files

Added ldns 1.6.5

  • Loading branch information...
meineerde committed Aug 9, 2010
1 parent 3d89258 commit fa94b7b9a192da8c151d4c3995347ffd9b5e1797
Showing with 18 additions and 0 deletions.
  1. +18 −0 Library/Formula/ldns.rb
View
@@ -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

0 comments on commit fa94b7b

Please sign in to comment.