Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

groonga 5.0.5 #41185

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 12 additions & 6 deletions Library/Formula/groonga.rb
@@ -1,15 +1,17 @@
class Groonga < Formula
desc "Fulltext search engine and column store"
homepage "http://groonga.org/"
url "http://packages.groonga.org/source/groonga/groonga-5.0.4.tar.gz"
sha256 "338b7a921e6f6dcf3e65d2147a55a9fe646544eeb97653194261111159b4fe10"
url "http://packages.groonga.org/source/groonga/groonga-5.0.5.tar.gz"
sha256 "ca62d15374117f4007a7b406ac2072683edda7ed7607d1b1fbcf3a30920f5b56"

bottle do
sha256 "73dd96e27fcc896f7625fb834f4869ed515c97a41213ceb06c35c379e45a2bfc" => :yosemite
sha256 "a79bacfd254ef168aa2f20d116bd6f3ed207cf17b7a7b9a9d8a15b0fa79e861f" => :mavericks
sha256 "5d7041fac2246ffda0a056e86a03a8e49eef6617f06dfda6ee1c1e709bb9c09c" => :mountain_lion
end

option "with-benchmark", "With benchmark program for developer use"

depends_on "pkg-config" => :build
depends_on "pcre"
depends_on "msgpack"
Expand All @@ -18,9 +20,9 @@ class Groonga < Formula
depends_on "lz4" => :optional
depends_on "openssl"

depends_on "glib" if build.include? "enable-benchmark"
depends_on "glib" if build.with? "benchmark"

option "enable-benchmark", "Enable benchmark program for developer use"
deprecated_option "enable-benchmark" => "with-benchmark"

def install
args = %W[
Expand All @@ -37,7 +39,11 @@ def install

# ZeroMQ is an optional dependency that will be auto-detected unless we disable it
system "./configure", *args
system "make"
system "make install"
system "make", "install"
end

test do
output = shell_output("groonga --version")
assert_match /groonga #{version}/, output
end
end