version up : percona-toolkit 2.2.10.
[slapos.git] / component / apache-perl / buildout.cfg
1 [buildout]
2 parts = apache-perl perl-Apache2-Request
3
4 extends =
5   ../apache/buildout.cfg
6   ../perl/buildout.cfg
7   ../libuuid/buildout.cfg
8
9 [apache-perl]
10 # Note: Shall react on each build of apache and reinstall itself
11 recipe = slapos.recipe.cmmi
12 url = http://perl.apache.org/dist/mod_perl-2.0.5.tar.gz
13 md5sum = 03d01d135a122bd8cebd0cd5b185d674
14 configure-command =
15   ${perl:location}/bin/perl Makefile.PL
16 configure-options =
17   MP_AP_PREFIX=${apache-2.2:location}
18   LIBS="-L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}"
19
20 # for mod_apreq2 and Apache2::Request
21 [perl-Apache2-Request]
22 recipe = slapos.recipe.build:cpan
23 modules =
24   I/IS/ISAAC/libapreq2-2.13.tar.gz
25 perl = perl
26 cpan-configuration =
27   makepl_arg = ('--with-apache2-apxs=${apache-2.2:location}/bin/apxs')
28 environment =
29   APR_LDFLAGS = -L${libuuid:location}/lib -Wl,-R${libuuid:location}/lib -L${libexpat:location}/lib -Wl,-R${libexpat:location}/lib -L${apache-2.2:location}/lib -Wl,-R${apache-2.2:location}/lib
30   LDFLAGS=-L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -L${libexpat:location}/lib -Wl,-rpath=${libexpat:location}/lib -L${apache-2.2:location}/lib -Wl,-rpath=${apache-2.2:location}/lib