Skip to content

Instantly share code, notes, and snippets.

@pivotal-medici
Forked from davidjrice/libcouchbase.rb
Created June 8, 2012 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pivotal-medici/2895629 to your computer and use it in GitHub Desktop.
Save pivotal-medici/2895629 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.0dp4.tar.gz'
md5 '546025c8f5e0aaa8f57bb350f2949694'
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