require 'formula' class Libcouchbase < Formula homepage 'http://couchbase.com/develop/c/current' url 'http://packages.couchbase.com/clients/c/libcouchbase-1.0.4.tar.gz' md5 'ef4650b5c6f4d0966f3d07f25ddf8161' depends_on 'libevent' depends_on 'libvbucket' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-couchbasemock" system "make install" end def test system "#{bin}/cbc-version" end end