From d9339aca2947fb443d6a9d358acf7025bf89debe Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 20:47:53 -0500 Subject: wget: use spec deps --- Library/Formula/wget.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb index fe8697dbf..267bf8657 100644 --- a/Library/Formula/wget.rb +++ b/Library/Formula/wget.rb @@ -9,21 +9,21 @@ class Wget < Formula mirror 'http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz' sha1 'c487bce740b3a1847a35fb29b5c6700c46f639b8' - head 'git://git.savannah.gnu.org/wget.git' + head do + url 'git://git.savannah.gnu.org/wget.git' - option "enable-iri", "Enable iri support" - option "enable-debug", "Build with debug support" - - depends_on "openssl" if MacOS.version <= :leopard - depends_on "libidn" if build.include? "enable-iri" - - if build.head? depends_on "autoconf" => :build depends_on "automake" => :build depends_on "xz" => :build depends_on "gettext" end + option "enable-iri", "Enable iri support" + option "enable-debug", "Build with debug support" + + depends_on "openssl" if MacOS.version <= :leopard + depends_on "libidn" if build.include? "enable-iri" + def install system "./bootstrap" if build.head? args = ["--prefix=#{prefix}", -- cgit v1.2.3