From 32626ad92291663c9a98c186318cefc98e54f72f Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Tue, 27 Nov 2012 23:44:46 +0300 Subject: libcouchbase 2.0.0 Signed-off-by: Charlie Sharpsteen --- Library/Formula/libcouchbase.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libcouchbase.rb b/Library/Formula/libcouchbase.rb index b17649881..543822e5a 100644 --- a/Library/Formula/libcouchbase.rb +++ b/Library/Formula/libcouchbase.rb @@ -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 -- cgit v1.2.3