From fbeb800432d41474c9e508c657fd186d50cb99ac Mon Sep 17 00:00:00 2001 From: Joel Purra Date: Fri, 16 Jun 2017 12:13:46 +0200 Subject: [PATCH] getdns 1.1.1 Closes #14656. Signed-off-by: ilovezfs --- Formula/getdns.rb | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/Formula/getdns.rb b/Formula/getdns.rb index 77eb9dbbfa..9d48249ffd 100644 --- a/Formula/getdns.rb +++ b/Formula/getdns.rb @@ -1,9 +1,8 @@ class Getdns < Formula desc "Modern asynchronous DNS API" homepage "https://getdnsapi.net" - url "https://getdnsapi.net/releases/getdns-1-1-0/getdns-1.1.0.tar.gz" - sha256 "aa47bca275b97f623dc6799cee97d3465fa46521d94bd9892e08e8d5d88f09c3" - head "https://github.com/getdnsapi/getdns.git", :branch => "develop" + url "https://getdnsapi.net/releases/getdns-1-1-1/getdns-1.1.1.tar.gz" + sha256 "fa414c30d5f2d2b2453b5cec77362b4cc0f44d440be5893233748d82bd6a1a56" bottle do sha256 "91fccbcb1ea628fefa2848fccc318953dfc71d34ffeff44adbf596352ceac16b" => :sierra @@ -11,9 +10,12 @@ class Getdns < Formula sha256 "f9259f55b25aa8c20a880c90c63fbbbc2a33da2b68a617799d43d0ae7abcacb1" => :yosemite end - devel do - url "https://getdnsapi.net/releases/getdns-1-1-1rc1/getdns-1.1.1rc1.tar.gz" - sha256 "f63340b1d05410b875217c6abd7066586fc55a811db4ae90ffd01d2240e05e57" + head do + url "https://github.com/getdnsapi/getdns.git", :branch => "develop" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build end depends_on "openssl" @@ -23,12 +25,6 @@ class Getdns < Formula depends_on "libuv" => :optional depends_on "libev" => :optional - if build.head? - depends_on "libtool" - depends_on "autoconf" - depends_on "automake" - end - def install if build.head? system "glibtoolize", "-ci"