aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/curl.rb
blob: 7fa47b2890a1119d8426ad42330fb16d251dbac7 (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.6.tar.bz2'
  sha256 'd9a3d3593796147ad9ca994c9e6834a42b49756420a10e996dbf849495d3d955'

  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