diff options
| author | HAYASHI Kentaro | 2013-12-29 18:17:13 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-29 14:07:34 +0000 |
| commit | 619a2eb9e97fc4f600a05144e566c868a79e0e70 (patch) | |
| tree | adc227e3077107bafe446017294bfb20b30e9797 /Library/Formula | |
| parent | 4e8e5a23d0173ebee88e0835d33d83d108b920e3 (diff) | |
| download | homebrew-619a2eb9e97fc4f600a05144e566c868a79e0e70.tar.bz2 | |
groonga 3.1.1
Closes #25534.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/groonga.rb | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Library/Formula/groonga.rb b/Library/Formula/groonga.rb index 9a4071670..f8fadc555 100644 --- a/Library/Formula/groonga.rb +++ b/Library/Formula/groonga.rb @@ -2,18 +2,30 @@ require 'formula' class Groonga < Formula homepage 'http://groonga.org/' - url 'http://packages.groonga.org/source/groonga/groonga-3.1.0.tar.gz' - sha1 '7d4ad3be8ade2b97ccf6790063b2b08d111daa59' + url 'http://packages.groonga.org/source/groonga/groonga-3.1.1.tar.gz' + sha1 '94f008c2b598e9d1e98a4c7a8b6115cc65c7367d' depends_on 'pkg-config' => :build depends_on 'pcre' depends_on 'msgpack' + depends_on 'glib' if build.include? 'enable-benchmark' + + option 'enable-benchmark', "Enable benchmark program for developer use" + def install + args = %W[ + --prefix=#{prefix} + --with-zlib + --disable-zeromq + ] + + if build.include? 'enable-benchmark' + args << '--enable-benchmark' + end + # ZeroMQ is an optional dependency that will be auto-detected unless we disable it - system "./configure", "--prefix=#{prefix}", - "--with-zlib", - "--disable-zeromq" + system "./configure", *args system "make install" end end |
