2010-06-14 11:27:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Groonga < Formula
|
2010-06-14 11:27:12 +00:00
|
|
|
homepage 'http://groonga.org/'
|
2012-12-30 01:01:03 +00:00
|
|
|
url 'http://packages.groonga.org/source/groonga/groonga-2.1.1.tar.gz'
|
|
|
|
sha1 'd0ef04bf6b61dac6911308f5d9fa08bec888d765'
|
2010-06-14 11:27:12 +00:00
|
|
|
|
2012-08-31 15:49:54 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'pcre'
|
2012-06-20 01:27:09 +00:00
|
|
|
depends_on 'msgpack'
|
|
|
|
|
2010-06-14 11:27:12 +00:00
|
|
|
def install
|
2013-01-02 18:41:04 +00:00
|
|
|
# ZeroMQ is an optional dependency that will be auto-detected unless we disbale it
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--with-zlib", "--disable-zeromq"
|
2010-06-14 11:27:12 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|