moved apache, postgres cfgs in own directories, renamed part
[slapos.git] / component / apache-php / buildout.cfg
1 [buildout]
2 parts = apache-php
3
4 extends =
5   ../apache/buildout.cfg
6   ../bzip2/buildout.cfg
7   ../cclient/buildout.cfg
8   ../curl/buildout.cfg
9   ../freetype/buildout.cfg
10   ../gettext/buildout.cfg
11   ../libiconv/buildout.cfg
12   ../libjpeg/buildout.cfg
13   ../libpng/buildout.cfg
14   ../libtool/buildout.cfg
15   ../mariadb/buildout.cfg
16   ../openldap/buildout.cfg
17   ../pkgconfig/buildout.cfg
18   ../zip/buildout.cfg
19
20 [apache-php]
21 # Note: Shall react on each build of apache and reinstall itself
22 recipe = hexagonit.recipe.cmmi
23 depends =
24   ${mariadb:version}
25 url = http://fr2.php.net/distributions/php-5.3.13.tar.gz
26 md5sum = 179c67ce347680f468edbfc3c425476a
27 configure-options =
28   --with-apxs2=${apache:location}/bin/apxs
29   --with-libxml-dir=${libxml2:location}
30   --with-mysql=${mariadb:location}
31   --with-zlib-dir=${zlib:location}
32   --with-bz2-dir=${bzip2:location}
33   --with-mcrypt=${libmcrypt:location}
34   --with-gd
35   --with-jpeg-dir=${libjpeg:location}
36   --with-png-dir=${libpng:location}
37   --enable-gd-native-ttf
38   --with-ttf
39   --with-freetype-dir=${freetype:location}
40   --with-pdo-mysql=mysqlnd
41   --with-mysqli=mysqlnd
42   --with-curl=${curl:location}
43   --with-zip-dir=${zip:location}
44   --with-imap=${cclient:location}
45   --with-iconv-dir=${libiconv:location}
46   --with-gettext=${gettext:location}
47   --with-ldap=${openldap:location}
48   --with-imap-ssl
49   --with-openssl=${openssl:location}
50   --enable-libxml
51   --enable-mbstring
52   --enable-session
53   --enable-exif
54   --enable-zip
55   --enable-bz2
56   --enable-ftp
57
58
59 # Changing TMPDIR is required for PEAR installation.
60 # It will create a pear/temp directory under the SR instead of a shared /tmp/pear/temp.
61 # XXX we could mkdir tmp there
62
63 environment =
64   PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig
65   PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:${libxml2:location}/bin:%(PATH)s
66   LDFLAGS =-L${bzip2:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -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}/libblkid
67   TMPDIR=${buildout:parts-directory}/${:_buildout_section_name_}
68
69
70
71
72 [apache-php-postgres]
73 <=apache-php
74 configure-options =
75   --with-apxs2=${apache:location}/bin/apxs
76   --with-libxml-dir=${libxml2:location}
77   --with-zlib-dir=${zlib:location}
78   --with-bz2-dir=${bzip2:location}
79   --with-mcrypt=${libmcrypt:location}
80   --with-gd
81   --with-jpeg-dir=${libjpeg:location}
82   --with-png-dir=${libpng:location}
83   --enable-gd-native-ttf
84   --with-ttf
85   --with-freetype-dir=${freetype:location}
86   --with-curl=${curl:location}
87   --with-zip-dir=${zip:location}
88   --with-imap=${cclient:location}
89   --with-iconv-dir=${libiconv:location}
90   --with-gettext=${gettext:location}
91   --with-ldap=${openldap:location}
92   --with-imap-ssl
93   --with-openssl=${openssl:location}
94   --enable-libxml
95   --enable-mbstring
96   --enable-session
97   --enable-exif
98   --enable-zip
99   --enable-bz2
100   --enable-ftp
101   --with-pgsql=${postgresql:location}
102
103
104 [libmcrypt]
105 recipe = hexagonit.recipe.cmmi
106 url = http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.bz2/download
107 md5sum = c4f491dd411a09e9de3b8702ea6f73eb
108
109 [xml-rpc]
110 recipe = hexagonit.recipe.cmmi
111 url = http://downloads.sourceforge.net/project/phpxmlrpc/phpxmlrpc/2.2.2/xmlrpc-2.2.2.tar.gz
112 md5sum = 59a644c636c6d98267d0c99b406ae9e8