Merge branch 'master' into trac
[slapos.git] / component / subversion / buildout.cfg
1 # Subversion - Enterprise-class centralized version control for the masses
2 # http://subversion.apache.org/
3
4 [buildout]
5 extends =
6   ../apache/buildout.cfg
7   ../libexpat/buildout.cfg
8   ../libuuid/buildout.cfg
9   ../neon/buildout.cfg
10   ../pkgconfig/buildout.cfg
11   ../sqlite3/buildout.cfg
12   ../zlib/buildout.cfg
13   ../swig/buildout.cfg
14 parts =
15   subversion
16
17 [subversion-1.6.0-disable_linking_against_unneeded_libraries]
18 recipe = hexagonit.recipe.download
19 download-only = true
20 filename = ${:_buildout_section_name_}.patch
21 # Patch available thanks to gentoo developpers
22 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/subversion/files/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch?revision=1.1
23 url = ${:_profile_base_location_}/${:filename}
24 md5sum = 8d911ec2422dc4c08a00693ac915a07a
25
26 [subversion]
27 recipe = slapos.recipe.cmmi
28 url = http://subversion.tigris.org/downloads/subversion-1.6.17.tar.bz2
29 md5sum = 81e5dc5beee4b3fc025ac70c0b6caa14
30 patches =
31   ${subversion-1.6.0-disable_linking_against_unneeded_libraries:location}/${subversion-1.6.0-disable_linking_against_unneeded_libraries:filename}
32 configure-options =
33   --disable-static
34   --with-apr=${apache:location}/bin/apr-1-config
35   --with-apr-util=${apache:location}/bin/apu-1-config
36   --without-apxs
37   --with-zlib=${zlib:location}
38   --with-sqlite=${sqlite3:location}
39   --with-neon=${neon:location}
40   --without-berkeley-db
41   --without-sasl
42   --without-apr_memcache
43   --without-gnome-keyring
44   --without-kwallet
45   --without-jdk
46   --without-jikes
47   --without-swig
48   --without-junit
49   --without-ctypesgen
50   --without-ruby-sitedir
51   --without-ruby-test-verbose
52   --disable-nls
53
54 # it seems that parallel build sometimes fails.
55 make-options =
56   -j1
57
58 environment =
59   PATH=${pkgconfig:location}/bin:${neon:location}/bin:%(PATH)s
60   PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${neon:location}/lib/pkgconfig
61   CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
62   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
63
64
65 [subversion-1.9]
66 recipe = hexagonit.recipe.cmmi
67 url = http://www.apache.org/dist/subversion/subversion-1.7.9.tar.gz
68 md5sum = dfb083e8bfac88aa28d606168b08e4ff
69 configure-options =
70   --disable-static
71   --with-apr=${apache:location}/bin/apr-1-config
72   --with-apr-util=${apache:location}/bin/apu-1-config
73   --with-apxs=${apache:location}/bin/apxs
74   --with-zlib=${zlib:location}
75   --with-sqlite=${sqlite3:location}
76   --with-neon=${neon:location}
77   --with-swig=${swig:location}/bin/swig
78   --without-berkeley-db
79   --without-sasl
80   --without-apr_memcache
81   --without-gnome-keyring
82   --without-kwallet
83   --without-jdk
84   --without-jikes
85   --without-junit
86   --without-ctypesgen
87   --without-ruby-sitedir
88   --without-ruby-test-verbose
89   --disable-nls
90
91 # it seems that parallel build sometimes fails.
92 make-options =
93   -j1
94
95 make-targets = 
96   install
97   swig-py
98   install-swig-py
99
100 environment =
101   PATH=${pkgconfig:location}/bin:${neon:location}/bin:%(PATH)s
102   PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${neon:location}/lib/pkgconfig
103   CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
104   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