buildout.cfg 3.45 KB
Newer Older
1 2 3 4 5
# Subversion - Enterprise-class centralized version control for the masses
# http://subversion.apache.org/

[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
6 7 8 9
  ../apache/buildout.cfg
  ../libexpat/buildout.cfg
  ../libuuid/buildout.cfg
  ../neon/buildout.cfg
10
  ../openssl/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
11
  ../patch/buildout.cfg
12
  ../perl/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
13
  ../pkgconfig/buildout.cfg
14
  ../serf/buildout.cfg
Łukasz Nowak's avatar
Łukasz Nowak committed
15 16
  ../sqlite3/buildout.cfg
  ../zlib/buildout.cfg
17
  ../swig/buildout.cfg
18 19 20 21
parts =
  subversion

[subversion]
22
recipe = slapos.recipe.cmmi
23 24
url = http://apache.mirrors.tds.net/subversion/subversion-1.8.14.tar.bz2
md5sum = fe476ba26d6835eba4393780ea907361
25
# Patch available thanks to gentoo developpers
26
# https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/subversion/files/subversion-fix-parallel-build-support-for-perl-bindings.patch
27
patches =
28
  ${:_profile_base_location_}/subversion-fix-parallel-build-support-for-perl-bindings.patch#fd69f4c932b4882ed98c59eb102be64a
29 30
configure-options =
  --disable-static
31 32
  --with-apr=${apache:location}/bin/apr-1-config
  --with-apr-util=${apache:location}/bin/apu-1-config
33
  --with-serf=yes
34 35 36 37 38 39
  --without-apxs
  --with-zlib=${zlib:location}
  --with-sqlite=${sqlite3:location}
  --without-berkeley-db
  --without-sasl
  --without-apr_memcache
40
  --without-gpg-agent
41
  --without-gnome-keyring
42
  --without-libmagic
43 44 45 46 47 48 49 50 51
  --without-kwallet
  --without-jdk
  --without-jikes
  --without-swig
  --without-junit
  --without-ctypesgen
  --without-ruby-sitedir
  --without-ruby-test-verbose
  --disable-nls
52
make-targets = install -j1
53
environment =
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
54
  PATH=${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
55
  PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl-1.0:location}/lib/pkgconfig:${serf:location}/lib/pkgconfig
56
  CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
57
  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-1.0:location}/lib
58 59 60

[subversion-1.9]
recipe = hexagonit.recipe.cmmi
61
shared = true
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
url = http://www.apache.org/dist/subversion/subversion-1.7.9.tar.gz
md5sum = dfb083e8bfac88aa28d606168b08e4ff
configure-options =
  --disable-static
  --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}
  --with-neon=${neon:location}
  --with-swig=${swig:location}/bin/swig
  --without-berkeley-db
  --without-sasl
  --without-apr_memcache
  --without-gnome-keyring
  --without-kwallet
  --without-jdk
  --without-jikes
  --without-junit
  --without-ctypesgen
  --without-ruby-sitedir
  --without-ruby-test-verbose
  --disable-nls

# it seems that parallel build sometimes fails.
make-options =
  -j1

make-targets = 
  install
  swig-py
  install-swig-py

environment =
  PATH=${pkgconfig:location}/bin:${neon:location}/bin:%(PATH)s
97
  PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl-1.0:location}/lib/pkgconfig:${neon:location}/lib/pkgconfig
98
  CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
99
  LDFLAGS=-L${libexpat:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${neon:location}/lib -Wl,-rpath=${apache:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${openssl-1.0:location}/lib