mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
libcouchbase 2.0.0
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
1 parent
fe80973e59
commit
32626ad922
1 file changed
+8
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user