aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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