aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/unbound.rb
blob: 11718270b955f62ebde585d9011ebbc2e4c4a0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Unbound < Formula
  homepage 'http://www.unbound.net'
  url 'http://www.unbound.net/downloads/unbound-1.4.20.tar.gz'
  sha1 '1752976533be2a4f0c9cdbab9d2cbb67d4f27c43'

  depends_on 'ldns'

  def install
    # gost requires OpenSSL >= 1.0.0, and support built into ldns
    system "./configure", "--prefix=#{prefix}",
                          "--disable-gost"
    system "make install"
  end
end