aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/curl.rb
blob: 0a1977998ed74dc3a7286dfe6feeba8c1ccfc9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Curl < Formula
  homepage 'http://curl.haxx.se/'
  url 'http://curl.haxx.se/download/curl-7.21.7.tar.bz2'
  sha256 '1a50dd17400c042090203eef347e946f29c342c32b6c4843c740c80975e8215a'

  keg_only :provided_by_osx,
            "The libcurl provided by Leopard is too old for CouchDB to use."

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end