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

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