Revert "php : try to set ld_library_path"
[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   --disable-static
14   --enable-shared
15   --with-apxs2=${apache:location}/bin/apxs
16   --with-libxml-dir=${libxml2:location}
17   --with-mysql=${mariadb:location}
18   --with-zlib-dir=${zlib:location}
19   --with-mcrypt=${libmcrypt:location}
20   --enable-mbstring
21   --with-gnu-ld
22
23 environment =
24   PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig
25   PATH=${libxml2:location}/bin:%(PATH)s
26   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
27
28 [apache-php-xml-rpc-gd]
29 # Note: Shall react on each build of apache and reinstall itself
30 recipe = hexagonit.recipe.cmmi
31 url = http://fr2.php.net/get/php-5.3.6.tar.bz2/from/this/mirror
32 md5sum = 2286f5a82a6e8397955a0025c1c2ad98
33 configure-options =
34   --with-apxs2=${apache:location}/bin/apxs
35   --with-libxml-dir=${libxml2:location}
36   --with-gd
37   --with-zlib-dir=${zlib:location}
38   --with-mcrypt=${libmcrypt:location}
39   --with-xmlrpc=${xml-rpc:location}
40   --enable-mbstring
41
42 environment =
43   PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig
44   PATH=${libxml2:location}/bin:%(PATH)s
45   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
46
47
48 [libmcrypt]
49 recipe = hexagonit.recipe.cmmi
50 url = http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.bz2/download
51 md5sum = c4f491dd411a09e9de3b8702ea6f73eb
52
53 [xml-rpc]
54 recipe = hexagonit.recipe.cmmi
55 url = http://downloads.sourceforge.net/project/phpxmlrpc/phpxmlrpc/2.2.2/xmlrpc-2.2.2.tar.gz
56 md5sum = 59a644c636c6d98267d0c99b406ae9e8