Skip to content

Instantly share code, notes, and snippets.

@davidjrice
Created May 14, 2012 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davidjrice/2694093 to your computer and use it in GitHub Desktop.
Save davidjrice/2694093 to your computer and use it in GitHub Desktop.
Homebrew recipe for libcouchbase 1.1.0.dp2
require 'formula'
class Libcouchbase < Formula
homepage 'http://couchbase.com/develop/c/next'
url 'http://packages.couchbase.com/clients/c/libcouchbase-1.1.0dp2.tar.gz'
md5 '7acef20e71390511edccd542d1a85dbc'
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment