buildout.cfg 1.9 KB
Newer Older
1
# groonga - an open-source fulltext search engine and column store
2 3 4 5 6 7
# http://groonga.org/

[buildout]
parts =
  groonga

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
8
extends =
9
  ../jemalloc/buildout.cfg
10
  ../libstemmer/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
11
  ../patch/buildout.cfg
12
  ../pkgconfig/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
13 14
  ../zlib/buildout.cfg

15
[groonga]
16
recipe = slapos.recipe.cmmi
17
shared = true
18 19
url = https://packages.groonga.org/source/groonga/groonga-12.0.7.tar.gz
md5sum = 5ef412a6941994e623cb50d76a8be261
20
groonga-plugin-dir =  @@LOCATION@@/lib/groonga/plugins/
21 22
# temporary patch to respect more tokens in natural language mode.
patches =
23
  ${:_profile_base_location_}/groonga.patch#cc6a678acd478fc074e678c7b7dd09d8
24
patch-options = -p1
25 26 27
configure-options =
  --disable-static
  --disable-glibtest
28
  --disable-benchmark
29
  --disable-document
30
  --disable-groonga-httpd
31
  --with-jemalloc
32 33 34
  --with-libstemmer
  --with-libstemmer-include=${libstemmer:location}/include
  --with-libstemmer-lib=${libstemmer:location}/lib
35 36 37 38
  --without-ruby
  --without-inkscape
  --without-lemon
  --without-lz4
39
  --without-mecab
40
  --without-kytea
41
  --without-libevent
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
42
environment =
43 44
  CPPFLAGS=-I${libstemmer:location}/include -I${libstemmer:location}/include -I${zlib:location}/include
  LDFLAGS=-Wl,-rpath=${jemalloc:location}/lib -L${jemalloc:location}/lib -Wl,-rpath=${libstemmer:location}/lib -L${libstemmer:location}/lib -Wl,-rpath=${zlib:location}/lib -L${zlib:location}/lib
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
45
  PATH=${patch:location}/bin:%(PATH)s
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
46

47

48
[groonga-normalizer-mysql]
49
recipe = slapos.recipe.cmmi
50
shared = true
51 52
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.8.tar.gz
md5sum = a1520691da3083e14bdc65a9ec57a620
53 54 55
groonga-plugin-dir =  @@LOCATION@@/lib/groonga/plugins/
pre-configure = mkdir -p ${:groonga-plugin-dir}
make-targets = GROONGA_PLUGINS_DIR=${:groonga-plugin-dir} install
56 57 58 59 60
configure-options =
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig