buildout.cfg 1.59 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 18
url = http://packages.groonga.org/source/groonga/groonga-6.0.1.tar.gz
md5sum = 8bcb172634d9b2fd869f04e8d0eeed9c
19 20 21 22
# temporary patch to respect more tokens in natural language mode.
patches =
  ${:_profile_base_location_}/groonga.patch#9ed02fbe8400402d3eab47eee149978b
patch-options = -p1
23 24 25
configure-options =
  --disable-static
  --disable-glibtest
26
  --disable-benchmark
27
  --disable-document
28
  --disable-groonga-httpd
29
  --with-jemalloc
30 31 32
  --with-libstemmer
  --with-libstemmer-include=${libstemmer:location}/include
  --with-libstemmer-lib=${libstemmer:location}/lib
33
  --without-mecab
34
  --without-kytea
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
35
environment =
36 37
  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
38
  PATH=${patch:location}/bin:%(PATH)s
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
39

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