[buildout]
parts =
  cyrus-sasl
extends =
  ../zlib/buildout.cfg

[cyrus-sasl]
recipe = slapos.recipe.cmmi
url = ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz
md5sum = a7f4e5e559a0e37b3ffc438c9456e425

configure-options =
  --disable-digest
  --disable-gssapi
  --disable-otp
  --with-dblib=none
  --without-des
  --without-openssl
  --without-pam
  --without-saslauthd
# it seems that parallel build sometimes fails.
make-options =
  -j1

environment =
  CPPFLAGS=-I${zlib:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib