php : disable all not explicitely needed extensions
[slapos.git] / component / apache-php / buildout.cfg
1 [buildout]
2 parts = apache-php
3
4 extends = 
5   ../apache/buildout.cfg
6
7 [apache-php]
8 # Note: Shall react on each build of apache and reinstall itself
9 recipe = hexagonit.recipe.cmmi
10 url = http://fr2.php.net/get/php-5.3.6.tar.bz2/from/this/mirror
11 md5sum = 2286f5a82a6e8397955a0025c1c2ad98
12 configure-options =
13   --with-apxs2=${apache:location}/bin/apxs
14   --with-libxml-dir=${libxml2:location}
15   --with-mysql=${mariadb:location}
16   --with-zlib-dir=${zlib:location}
17   --with-mcrypt=${libmcrypt:location}
18   --enable-mbstring
19   --disable-all
20
21 environment =
22   PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig
23   PATH=${libxml2:location}/bin:%(PATH)s
24   LDFLAGS =-L${libtool:location}/lib -Wl,-rpath -Wl,${libtool:location}/lib -L${mariadb:location}/lib -Wl,-rpath -Wl,${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${libmcrypt:location}/lib -Wl,-rpath -Wl,${libmcrypt:location}/lib
25
26 [apache-php-xml-rpc-gd]
27 # Note: Shall react on each build of apache and reinstall itself
28 recipe = hexagonit.recipe.cmmi
29 url = http://fr2.php.net/get/php-5.3.6.tar.bz2/from/this/mirror
30 md5sum = 2286f5a82a6e8397955a0025c1c2ad98
31 configure-options =
32   --with-apxs2=${apache:location}/bin/apxs
33   --with-libxml-dir=${libxml2:location}
34   --with-gd
35   --with-zlib-dir=${zlib:location}
36   --with-mcrypt=${libmcrypt:location}
37   --with-xmlrpc=${xml-rpc:location}
38   --enable-mbstring
39
40 environment =
41   PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig
42   PATH=${libxml2:location}/bin:%(PATH)s
43   LDFLAGS =-L${xml-rpc:location}/lib -Wl,-rpath -Wl,${xml-rpc:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${libmcrypt:location}/lib -Wl,-rpath -Wl,${libmcrypt:location}/lib
44
45
46 [libmcrypt]
47 recipe = hexagonit.recipe.cmmi
48 url = http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.bz2/download
49 md5sum = c4f491dd411a09e9de3b8702ea6f73eb
50
51 [xml-rpc]
52 recipe = hexagonit.recipe.cmmi
53 url = http://downloads.sourceforge.net/project/phpxmlrpc/phpxmlrpc/2.2.2/xmlrpc-2.2.2.tar.gz
54 md5sum = 59a644c636c6d98267d0c99b406ae9e8