libcouchbase 2.0.0

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Sergey Avseyev 2012-11-27 23:44:46 +03:00 committed by Charlie Sharpsteen
parent 8566caaee6
commit e62dd2762d

View file

@ -2,16 +2,20 @@ require 'formula'
class Libcouchbase < Formula
homepage 'http://couchbase.com/develop/c/current'
url 'http://packages.couchbase.com/clients/c/libcouchbase-1.0.6.tar.gz'
sha1 '733479568b851382059b82bdd093b92081f9ac9c'
url 'http://packages.couchbase.com/clients/c/libcouchbase-2.0.0.tar.gz'
sha1 'ac41e18a6131b8120d872d7d3dde7253ee898c67'
depends_on 'libevent'
depends_on 'libvbucket'
option 'with-libev-plugin', 'Build libev IO plugin (will pull libev dependency)'
option 'without-libevent-plugin', 'Do not build libevent plugin (will remove libevent dependency)'
depends_on 'libev' if build.include?('with-libev-plugin')
depends_on 'libevent' unless build.include?('without-libevent-plugin')
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-examples",
"--disable-couchbasemock"
system "make install"
end