2010-11-10 03:29:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Unbound < Formula
|
2010-11-10 03:29:50 +00:00
|
|
|
homepage 'http://www.unbound.net'
|
2013-07-28 15:52:46 +00:00
|
|
|
url 'http://www.unbound.net/downloads/unbound-1.4.20.tar.gz'
|
|
|
|
sha1 '1752976533be2a4f0c9cdbab9d2cbb67d4f27c43'
|
2010-11-10 03:29:50 +00:00
|
|
|
|
|
|
|
depends_on 'ldns'
|
|
|
|
|
|
|
|
def install
|
2012-06-19 03:16:52 +00:00
|
|
|
# gost requires OpenSSL >= 1.0.0, and support built into ldns
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-gost"
|
2010-11-10 03:29:50 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|