aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/curl.rb
blob: 2039e62a607bf661efa3c4269a17fa52cc6f4c9b (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.25.0.tar.bz2'
  sha256 'cfb29139dfeb2449bf8a89963c3aed7d87f034013f05564cc0330b435c90b491'

  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