buildout.cfg 1.68 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-7.0.0.tar.gz
md5sum = 1b5383359ba1901e66b9e0910712569f
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 34 35 36
  --without-ruby
  --without-inkscape
  --without-lemon
  --without-lz4
37
  --without-mecab
38
  --without-kytea
39
  --without-libevent
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
40
environment =
41 42
  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
43
  PATH=${patch:location}/bin:%(PATH)s
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
44

45
[groonga-normalizer-mysql]
46
recipe = slapos.recipe.cmmi
47 48
url = http://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.1.tar.gz
md5sum = 5a93c0238da114e5f91db659ffd499b0
49 50 51 52 53 54
location = ${groonga:location}
configure-options =
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig