use our own perl in buidling components.
[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   ../perl/buildout.cfg
11   ../pkgconfig/buildout.cfg
12   ../sqlite3/buildout.cfg
13   ../zlib/buildout.cfg
14   ../swig/buildout.cfg
15 parts =
16   subversion
17
18 [subversion]
19 recipe = slapos.recipe.cmmi
20 url = http://subversion.tigris.org/downloads/subversion-1.6.17.tar.bz2
21 md5sum = 81e5dc5beee4b3fc025ac70c0b6caa14
22 # Patch available thanks to gentoo developpers
23 # 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
24 patches =
25   ${:_profile_base_location_}/subversion-1.6.0-disable_linking_against_unneeded_libraries.patch#8d911ec2422dc4c08a00693ac915a07a
26 configure-options =
27   --disable-static
28   --with-apr=${apache:location}/bin/apr-1-config
29   --with-apr-util=${apache:location}/bin/apu-1-config
30   --without-apxs
31   --with-zlib=${zlib:location}
32   --with-sqlite=${sqlite3:location}
33   --with-neon=${neon:location}
34   --without-berkeley-db
35   --without-sasl
36   --without-apr_memcache
37   --without-gnome-keyring
38   --without-kwallet
39   --without-jdk
40   --without-jikes
41   --without-swig
42   --without-junit
43   --without-ctypesgen
44   --without-ruby-sitedir
45   --without-ruby-test-verbose
46   --disable-nls
47
48 # it seems that parallel build sometimes fails.
49 make-options =
50   -j1
51
52 environment =
53   PATH=${perl:location}/bin:${pkgconfig:location}/bin:${neon:location}/bin:%(PATH)s
54   PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${neon:location}/lib/pkgconfig
55   CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
56   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
57
58
59 [subversion-1.9]
60 recipe = hexagonit.recipe.cmmi
61 url = http://www.apache.org/dist/subversion/subversion-1.7.9.tar.gz
62 md5sum = dfb083e8bfac88aa28d606168b08e4ff
63 configure-options =
64   --disable-static
65   --with-apr=${apache:location}/bin/apr-1-config
66   --with-apr-util=${apache:location}/bin/apu-1-config
67   --with-apxs=${apache:location}/bin/apxs
68   --with-zlib=${zlib:location}
69   --with-sqlite=${sqlite3:location}
70   --with-neon=${neon:location}
71   --with-swig=${swig:location}/bin/swig
72   --without-berkeley-db
73   --without-sasl
74   --without-apr_memcache
75   --without-gnome-keyring
76   --without-kwallet
77   --without-jdk
78   --without-jikes
79   --without-junit
80   --without-ctypesgen
81   --without-ruby-sitedir
82   --without-ruby-test-verbose
83   --disable-nls
84
85 # it seems that parallel build sometimes fails.
86 make-options =
87   -j1
88
89 make-targets = 
90   install
91   swig-py
92   install-swig-py
93
94 environment =
95   PATH=${pkgconfig:location}/bin:${neon:location}/bin:%(PATH)s
96   PKG_CONFIG_PATH=${apache:location}/lib/pkgconfig:${sqlite3:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${neon:location}/lib/pkgconfig
97   CPPFLAGS=-I${libexpat:location}/include -I${libuuid:location}/include
98   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