[buildout]
extends =
  ../bzip2/buildout.cfg
  ../popt/buildout.cfg
  ../zlib/buildout.cfg
parts =
  librsync

[librsync]
recipe = slapos.recipe.cmmi
url = http://downloads.sourceforge.net/sourceforge/librsync/librsync-0.9.7.tar.gz
md5sum = 24cdb6b78f45e0e83766903fd4f6bc84
configure-options =
  --disable-static
  --enable-shared
environment =
  CPPFLAGS=-I${zlib:location}/include -I${bzip2:location}/include -I${popt:location}/include
  LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib
