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

  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