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