aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-21 20:47:53 -0500
committerJack Nagel2013-09-21 21:05:15 -0500
commitd9339aca2947fb443d6a9d358acf7025bf89debe (patch)
treeb85aa9c70d2630c12ec331517dbbd21c7357dd89 /Library/Formula
parent25c87872bfc159d8eb2e58f13220c18fa7590bcb (diff)
downloadhomebrew-d9339aca2947fb443d6a9d358acf7025bf89debe.tar.bz2
wget: use spec deps
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wget.rb16
1 files changed, 8 insertions, 8 deletions
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}",