aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ldns.rb
blob: 775223e4357ffa7e71f0863e15135086ede0621a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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