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

46
[groonga-normalizer-mysql]
47
recipe = slapos.recipe.cmmi
48
shared = false
49 50
url = https://packages.groonga.org/source/groonga-normalizer-mysql/groonga-normalizer-mysql-1.1.4.tar.gz
md5sum = effa67fb271d49810850a3b275d040f6
51 52 53 54 55 56
location = ${groonga:location}
configure-options =
  --disable-static
environment =
  PATH=${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${groonga:location}/lib/pkgconfig