homebrew-core/Formula/libcouchbase.rb
Sergey Avseyev e88ecd5ad2 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 Homebrew/homebrew#9758.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-11 21:12:16 -05:00

22 lines
571 B
Ruby

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