# Subversion - Enterprise-class centralized version control for the masses
# http://subversion.apache.org/

[buildout]
extends =
  ../apache/buildout.cfg
  ../libexpat/buildout.cfg
  ../util-linux/buildout.cfg
  ../openssl/buildout.cfg
  ../patch/buildout.cfg
  ../perl/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../serf/buildout.cfg
  ../sqlite3/buildout.cfg
  ../zlib/buildout.cfg
  ../lz4/buildout.cfg
parts =
  subversion

[subversion]
recipe = slapos.recipe.cmmi
shared = true
url = https://downloads.apache.org/subversion/subversion-1.14.1.tar.bz2
md5sum = 2eccc2c7451397e01a13682600af9563
configure-options =
  --disable-static
  --with-apr=${apr:location}
  --with-apr-util=${apr-util:location}
  --with-serf=yes
  --without-apxs
  --with-utf8proc=internal
  --with-zlib=${zlib:location}
  --with-sqlite=${sqlite3:location}
  --with-lz4=${lz4:location}
  --without-berkeley-db
  --without-sasl
  --without-apr_memcache
  --without-gpg-agent
  --without-gnome-keyring
  --without-libmagic
  --without-kwallet
  --without-jdk
  --without-jikes
  --without-swig
  --without-junit
  --without-ctypesgen
  --without-ruby-sitedir
  --without-ruby-test-verbose
  --disable-nls
make-targets = install -j1
environment =
  PATH=${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
  PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${serf:location}/lib/pkgconfig
  CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
  LDFLAGS=-L${libexpat:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${apache:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${serf:location}/lib -Wl,-rpath=${lz4:location}/lib
