diff options
| author | Ant Bryan | 2012-08-27 20:31:15 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-27 19:47:31 -0700 |
| commit | 482c513e4c20c72cffcb3463bcb3b863d3ecf7c4 (patch) | |
| tree | 74accccaafe178b2c8b63066d979d5494f49c1d4 /Library/Formula | |
| parent | 8e599ede57501929f9403e88fd40da56ee7bfd29 (diff) | |
| download | homebrew-482c513e4c20c72cffcb3463bcb3b863d3ecf7c4.tar.bz2 | |
curl: add libmetalink option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/curl.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb index fd0247255..fff8247d8 100644 --- a/Library/Formula/curl.rb +++ b/Library/Formula/curl.rb @@ -8,18 +8,22 @@ class Curl < Formula keg_only :provided_by_osx, "The libcurl provided by Leopard is too old for CouchDB to use." + option 'with-ssh', 'Build with scp and sftp support' + option 'with-libmetalink', 'Build with Metalink support' + depends_on 'pkg-config' => :build depends_on 'libssh2' if build.include? 'with-ssh' - - option 'with-ssh', 'Build with scp and sftp support' + depends_on 'libmetalink' if build.include? 'with-libmetalink' def install args = %W[ - --disable-debug - --disable-dependency-tracking - --prefix=#{prefix}] + --disable-debug + --disable-dependency-tracking + --prefix=#{prefix} + ] args << "--with-libssh2" if build.include? 'with-ssh' + args << "--with-libmetalink" if build.include? 'with-libmetalink' system "./configure", *args system "make install" |
