diff options
| author | Misty De Meo | 2012-04-17 09:30:09 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-04-20 10:44:19 -0500 |
| commit | 15a2c770c3f2d252a1a8a1130e9c6a89ba74f22e (patch) | |
| tree | a367d961c9d047e888570393b9e7fc670223bf18 /Library | |
| parent | 02c3e3660a8c17aa80285d4e2a73f1525e7de19c (diff) | |
| download | homebrew-15a2c770c3f2d252a1a8a1130e9c6a89ba74f22e.tar.bz2 | |
wget: add HEAD
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wget.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb index 3e1166fcf..0663d39d8 100644 --- a/Library/Formula/wget.rb +++ b/Library/Formula/wget.rb @@ -6,14 +6,23 @@ class Wget < Formula mirror 'http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.bz2' md5 '12115c3750a4d92f9c6ac62bac372e85' + head 'bzr://http://bzr.savannah.gnu.org/r/wget/trunk' + depends_on "openssl" if MacOS.leopard? depends_on "libidn" if ARGV.include? "--enable-iri" + if ARGV.build_head? + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "gettext" + end + def options [["--enable-iri", "Enable iri support."]] end def install + system "./bootstrap" if ARGV.build_head? args = ["--disable-debug", "--prefix=#{prefix}", "--sysconfdir=#{etc}", |
