[buildout]
parts =
  serf
extends =
  ../apache/buildout.cfg
  ../util-linux/buildout.cfg
  ../openssl/buildout.cfg
  ../python-2.7/buildout.cfg
  ../zlib/buildout.cfg

[serf]
recipe = slapos.recipe.cmmi
shared = true
url = https://archive.apache.org/dist/serf/serf-1.3.9.tar.bz2
md5sum = 370a6340ff20366ab088012cd13f2b57
scons-command =
  ${python2.7:location}/bin/python ${scons:location}/scons.py \
  APR="${apr:location}" \
  APU="${apr-util:location}" \
  OPENSSL="${openssl:location}" \
  PREFIX=@@LOCATION@@ \
  CFLAGS="-I${zlib:location}/include -I${libuuid:location}/include" \
  LINKFLAGS="-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib"
configure-command = :
make-binary = ${:scons-command}

[scons]
recipe = slapos.recipe.build:download-unpacked
shared = true
url = https://prdownloads.sourceforge.net/scons/scons-local-2.3.0.tar.gz
md5sum = d262e6c6da620488d2226fabc8aabf09
strip-top-level-dir = false
