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/'
|
2013-02-09 04:34:26 +00:00
|
|
|
url 'http://packages.groonga.org/source/groonga/groonga-3.0.0.tar.gz'
|
|
|
|
sha1 'facdc65f5830ce973e926b477fef66509b38ff75'
|
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-29 05:00:08 +00:00
|
|
|
# ZeroMQ is an optional dependency that will be auto-detected unless we disable it
|
2013-02-09 04:34:26 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--with-zlib",
|
|
|
|
"--disable-zeromq"
|
2010-06-14 11:27:12 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|