diff options
| author | Sergey Avseyev | 2012-01-11 13:43:18 +0300 |
|---|---|---|
| committer | Jack Nagel | 2012-03-11 21:12:16 -0500 |
| commit | fc6366264496fbe63042e8335e2c4e990eba57a3 (patch) | |
| tree | 8aa736cb28e459d7d54b618be639fbc33710f66c /Library/Formula | |
| parent | 526e83f8bce0f2db17e1bbcde282e2ba7427be48 (diff) | |
| download | homebrew-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>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libcouchbase.rb | 22 |
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 |
