aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Avseyev2012-01-11 13:43:18 +0300
committerJack Nagel2012-03-11 21:12:16 -0500
commitfc6366264496fbe63042e8335e2c4e990eba57a3 (patch)
tree8aa736cb28e459d7d54b618be639fbc33710f66c
parent526e83f8bce0f2db17e1bbcde282e2ba7427be48 (diff)
downloadhomebrew-fc6366264496fbe63042e8335e2c4e990eba57a3.tar.bz2
New formula: libcouchbase 1.0.2
This Couchbase Client Library for C and C++ provides a complete interface to the functionality of Couchbase Server. Closes #9758. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/libcouchbase.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/libcouchbase.rb b/Library/Formula/libcouchbase.rb
new file mode 100644
index 000000000..a3e8e60e7
--- /dev/null
+++ b/Library/Formula/libcouchbase.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Libcouchbase < Formula
+ homepage 'http://couchbase.com/develop/c/current'
+ url 'http://packages.couchbase.com/clients/c/libcouchbase-1.0.2.tar.gz'
+ md5 '1f2c80bcf3959175aa985cf7fa73ac2e'
+
+ 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