diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/groonga | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/groonga')
-rw-r--r-- | homebrew/groonga/.beer | 78 | ||||
-rw-r--r-- | homebrew/groonga/.make.sh-auto | 13 | ||||
-rw-r--r-- | homebrew/groonga/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/groonga/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/groonga/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/groonga/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/groonga/download.sh | 1 |
7 files changed, 96 insertions, 0 deletions
diff --git a/homebrew/groonga/.beer b/homebrew/groonga/.beer new file mode 100644 index 000000000..98e942296 --- /dev/null +++ b/homebrew/groonga/.beer @@ -0,0 +1,78 @@ +{ + "name": "Groonga", + "description": "Fulltext search engine and column store", + "url": "https://packages.groonga.org/source/groonga/groonga-9.0.1.tar.gz", + "mirror": null, + "homepage": "http://groonga.org/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "mecab", + "build-depend": false + }, + { + "depend": "mecab-ipadic", + "build-depend": false + }, + { + "depend": "msgpack", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "pcre", + "build-depend": false + } + ], + "resource": [ + { + "name": "groonga-normalizer-mysql", + "url": "https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.4.tar.gz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "args = %W[", + "--prefix=#{prefix}", + "--disable-zeromq", + "--enable-mruby", + "--with-ssl", + "--with-zlib", + "--without-libstemmer", + "--with-mecab", + "]", + "if build.head?", + "args << \"--with-ruby\"", + "system \"./autogen.sh\"", + "end", + "system \"./configure\", *args", + "system \"make\", \"install\"", + "resource(\"groonga-normalizer-mysql\").stage do", + "ENV.prepend_path \"PATH\", bin", + "ENV.prepend_path \"PKG_CONFIG_PATH\", lib/\"pkgconfig\"", + "system \"./configure\", \"--prefix=#{prefix}\"", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "9.0.1", + "file": "groonga.rb" +}
\ No newline at end of file diff --git a/homebrew/groonga/.make.sh-auto b/homebrew/groonga/.make.sh-auto new file mode 100644 index 000000000..97578a53a --- /dev/null +++ b/homebrew/groonga/.make.sh-auto @@ -0,0 +1,13 @@ +pkg:setup +args = %W[--prefix=#{prefix} --disable-zeromq --enable-mruby --with-ssl --with-zlib --without-libstemmer --with-mecab ] +args << "--with-ruby" +./autogen.sh +end +pkg:configure *args +make DESTDIR=${PKG_DEST} install +resource("groonga-normalizer-mysql").stage do +ENV.prepend_path "PATH", bin +ENV.prepend_path "PKG_CONFIG_PATH", lib/"pkgconfig" +pkg:configure +make +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/groonga/_metadata/description b/homebrew/groonga/_metadata/description new file mode 100644 index 000000000..49757bdd8 --- /dev/null +++ b/homebrew/groonga/_metadata/description @@ -0,0 +1 @@ +Fulltext search engine and column store diff --git a/homebrew/groonga/_metadata/homepage b/homebrew/groonga/_metadata/homepage new file mode 100644 index 000000000..feb960b77 --- /dev/null +++ b/homebrew/groonga/_metadata/homepage @@ -0,0 +1 @@ +http://groonga.org/ diff --git a/homebrew/groonga/_metadata/name b/homebrew/groonga/_metadata/name new file mode 100644 index 000000000..45406b256 --- /dev/null +++ b/homebrew/groonga/_metadata/name @@ -0,0 +1 @@ +Groonga diff --git a/homebrew/groonga/_metadata/version b/homebrew/groonga/_metadata/version new file mode 100644 index 000000000..37ad5c8b1 --- /dev/null +++ b/homebrew/groonga/_metadata/version @@ -0,0 +1 @@ +9.0.1 diff --git a/homebrew/groonga/download.sh b/homebrew/groonga/download.sh new file mode 100755 index 000000000..6ace16fb6 --- /dev/null +++ b/homebrew/groonga/download.sh @@ -0,0 +1 @@ +wget https://packages.groonga.org/source/groonga/groonga-9.0.1.tar.gz
\ No newline at end of file |