buildout.cfg 1.23 KB
Newer Older
1 2 3
# Sphinx - Open Source Search Server
# http://sphinxsearch.com/

4 5 6
[buildout]
parts = sphinx
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
7 8 9
  ../libexpat/buildout.cfg
  ../mariadb/buildout.cfg
  ../zlib/buildout.cfg
10 11 12

[sphinx-1.10-beta-snowball.patch]
recipe = hexagonit.recipe.download
13
url = ${:_profile_base_location_}/${:filename}
14 15 16 17 18 19 20
path = ${:filename}
md5sum = 65a5ee78bf27c030734674c018006287
download-only = true
filename = sphinx-1.10-beta-snowball.patch

[sphinx]
recipe = hexagonit.recipe.cmmi
21 22
depends =
  ${mariadb:version}
23 24
url = http://sphinxsearch.com/files/sphinx-2.0.5-release.tar.gz
md5sum = e71fdb5b0c2911247d48fb30550b9584
25
configure-options =
26
  --with-mysql
27
  --with-mysql-includes=${mariadb:location}/include/mysql
28
  --with-mysql-libs=${mariadb:location}/lib
29 30 31 32 33 34 35 36
  --with-libstemmer
  --with-iconv
  --without-pgsql
  --without-unixodbc
patch-options = -p1
patches =
  ${sphinx-1.10-beta-snowball.patch:location}/${sphinx-1.10-beta-snowball.patch:filename}
environment =
37
  CPPFLAGS=-I${zlib:location}/include -I${libexpat:location}/include -fpermissive
38
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${libexpat:location}/lib -Wl,-rpath=${libexpat:location}/lib
39
# Note: -fpermissive added to allow compilation on recent gcc 4.7+