[buildout]
parts =
  serf
extends =
  ../apache/buildout.cfg
  ../libuuid/buildout.cfg
  ../openssl/buildout.cfg
  ../zlib/buildout.cfg

[serf]
recipe = slapos.recipe.cmmi
shared = true
url = https://serf.googlecode.com/files/serf-1.2.1.tar.bz2
md5sum = 4f8e76c9c6567aee1d66aba49f76a58b
configure-options =
  --with-apr=${apache:location}/bin/apr-1-config
  --with-apr-util=${apache:location}/bin/apu-1-config
  --with-openssl=${openssl-1.0:location}
environment =
  CFLAGS=-I${zlib:location}/include -I${libuuid:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib
