buildout.cfg 1.23 KB
# Sphinx - Open Source Search Server
# http://sphinxsearch.com/

[buildout]
parts = sphinx
extends =
  ../libexpat/buildout.cfg
  ../mariadb/buildout.cfg
  ../zlib/buildout.cfg

[sphinx-1.10-beta-snowball.patch]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
path = ${:filename}
md5sum = 65a5ee78bf27c030734674c018006287
download-only = true
filename = sphinx-1.10-beta-snowball.patch

[sphinx]
recipe = hexagonit.recipe.cmmi
depends =
  ${mariadb:version}
url = http://sphinxsearch.com/files/sphinx-2.0.5-release.tar.gz
md5sum = e71fdb5b0c2911247d48fb30550b9584
configure-options =
  --with-mysql
  --with-mysql-includes=${mariadb:location}/include/mysql
  --with-mysql-libs=${mariadb:location}/lib
  --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 =
  CPPFLAGS=-I${zlib:location}/include -I${libexpat:location}/include -fpermissive
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${libexpat:location}/lib -Wl,-rpath=${libexpat:location}/lib
# Note: -fpermissive added to allow compilation on recent gcc 4.7+