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-04-29 07:14:27 +00:00
|
|
|
url 'http://packages.groonga.org/source/groonga/groonga-3.0.3.tar.gz'
|
|
|
|
sha1 '53b3427082769bac1230f290fef1c87c8f442d35'
|
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
|