Import http://git.erp5.org/gitweb/erp5.git/tree/HEAD:/slapos
[slapos.git] / component / sphinx / buildout.cfg
1 [buildout]
2 parts = sphinx
3 extends =
4   libexpat.cfg
5   mariadb.cfg
6   zlib.cfg
7
8 [sphinx-1.10-fix_nosigpipe.patch]
9 recipe = hexagonit.recipe.download
10 url = ${:_profile_base_location_}/../patch/${:filename}
11 md5sum = b606b2a267ebfbd009bb1e72e7a29462
12 download-only = true
13 filename = sphinx-1.10-fix_nosigpipe.patch
14
15 [sphinx-1.10-beta-snowball.patch]
16 recipe = hexagonit.recipe.download
17 url = ${:_profile_base_location_}/../patch/${:filename}
18 path = ${:filename}
19 md5sum = 65a5ee78bf27c030734674c018006287
20 download-only = true
21 filename = sphinx-1.10-beta-snowball.patch
22
23 [sphinx]
24 recipe = hexagonit.recipe.cmmi
25 url = http://www.sphinxsearch.com/files/sphinx-1.10-beta.tar.gz
26 md5sum = 5b52ce9e93a73c66d37bc3a2402f14fa
27 configure-options =
28   --with-mysql
29   --with-mysql-includes=${mariadb:location}/include/mysql
30   --with-mysql-libs=${mariadb:location}/lib/mysql
31   --with-libstemmer
32   --with-iconv
33   --without-pgsql
34   --without-unixodbc
35 patch-options = -p1
36 patches =
37   ${sphinx-1.10-fix_nosigpipe.patch:location}/${sphinx-1.10-fix_nosigpipe.patch:filename}
38   ${sphinx-1.10-beta-snowball.patch:location}/${sphinx-1.10-beta-snowball.patch:filename}
39 environment =
40   CPPFLAGS=-I${zlib:location}/include -I${libexpat:location}/include
41   LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath ${mariadb:location}/lib/mysql -L${libexpat:location}/lib -Wl,-rpath ${libexpat:location}/lib