aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ldns.rb
blob: b7a768b482b2d24fd541fd9d1eae7bad0f3f01be (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