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

  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