buildout.cfg 1.53 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
11
  ../pkgconfig/buildout.cfg
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
12 13
  ../zlib/buildout.cfg

14
[groonga]
15
recipe = slapos.recipe.cmmi
16 17
url = http://packages.groonga.org/source/groonga/groonga-5.0.7.tar.gz
md5sum = 389d5353a18ff5f48ccf65a576c7b2d1
18 19 20 21
# temporary patch to respect more tokens in natural language mode.
patches =
  ${:_profile_base_location_}/groonga.patch#9ed02fbe8400402d3eab47eee149978b
patch-options = -p1
22 23 24
configure-options =
  --disable-static
  --disable-glibtest
25
  --disable-benchmark
26
  --disable-document
27
  --disable-groonga-httpd
28
  --with-jemalloc
29 30 31
  --with-libstemmer
  --with-libstemmer-include=${libstemmer:location}/include
  --with-libstemmer-lib=${libstemmer:location}/lib
32
  --without-mecab
33
  --without-kytea
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
34
environment =
35 36
  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
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
37

38
[groonga-normalizer-mysql]
39
recipe = slapos.recipe.cmmi
40 41
url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.0.tar.gz
md5sum = 0a0b523547999f90d347982fe9d03c0e
42 43 44 45 46 47
location = ${groonga:location}
configure-options =
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig