getdns 0.2.0

Closes Homebrew/homebrew#40330.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
master
Neel Goyal 2015-06-02 18:38:29 -04:00 committed by Dominyk Tiller
parent e41d77fc1b
commit c9dedf1489
1 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,9 @@
require "formula"
class Getdns < Formula
homepage "http://getdnsapi.net"
url "http://getdnsapi.net/dist/getdns-0.1.6.tar.gz"
sha1 "675fe336b98de78d3b0f25c5d5e0005dc14021ca"
homepage "https://getdnsapi.net"
url "https://getdnsapi.net/dist/getdns-0.2.0.tar.gz"
sha1 "6843984f7ed8109302bda3b37f5247fd49827f90"
head "https://github.com/getdnsapi/getdns.git"
@ -13,6 +13,7 @@ class Getdns < Formula
sha1 "1c393a248ef0633265f1e40c335a6ddf1fd7794e" => :mountain_lion
end
depends_on "openssl"
depends_on "ldns"
depends_on "unbound"
depends_on "libidn"
@ -21,7 +22,10 @@ class Getdns < Formula
depends_on "libev" => :optional
def install
args = []
args = [
"--with-ssl=#{Formula["openssl"].opt_prefix}",
"--with-trust-anchor=#{etc}/getdns-root.key"
]
args << "--with-libevent" if build.with? "libevent"
args << "--with-libev" if build.with? "libev"
args << "--with-libuv" if build.with? "libuv"