[buildout]
extends =
  ../software-profiles/apache.cfg
  ../software-profiles/libdb.cfg
  ../software-profiles/libexpat.cfg
  ../software-profiles/neon.cfg
  ../software-profiles/sqlite3.cfg
  ../software-profiles/zlib.cfg
parts =
  subversion

[subversion]
recipe = hexagonit.recipe.cmmi
url = http://subversion.tigris.org/downloads/subversion-1.6.13.tar.bz2
md5sum = 7ae1c827689f21cf975804005be30aeb
configure-options =
  --with-apr=${apache:location}/bin/apr-1-config
  --with-apr-util=${apache:location}/bin/apu-1-config
  --with-apxs=${apache:location}/bin/apxs
  --with-zlib=${zlib:location}
  --with-sqlite=${sqlite3:location}
  --without-berkeley-db
  --with-neon=${neon:location}

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