buildout.cfg 2.29 KB
Newer Older
1 2 3
[buildout]
parts = apache-php

4
extends =
5
  ../apache/buildout.cfg
6
  ../bzip2/buildout.cfg
7
  ../cclient/buildout.cfg
8
  ../curl/buildout.cfg
9 10 11 12 13
  ../freetype/buildout.cfg
  ../gettext/buildout.cfg
  ../libiconv/buildout.cfg
  ../libjpeg/buildout.cfg
  ../libpng/buildout.cfg
14
  ../libtool/buildout.cfg
15 16 17 18
  ../mariadb/buildout.cfg
  ../openldap/buildout.cfg
  ../pkgconfig/buildout.cfg
  ../zip/buildout.cfg
19 20 21 22

[apache-php]
# Note: Shall react on each build of apache and reinstall itself
recipe = hexagonit.recipe.cmmi
23
url = http://fr2.php.net/distributions/php-5.3.10.tar.gz
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
24
md5sum = 2b3d2d0ff22175685978fb6a5cbcdc13
25 26 27
configure-options =
  --with-apxs2=${apache:location}/bin/apxs
  --with-libxml-dir=${libxml2:location}
28
  --with-mysql=${mariadb:location}
29
  --with-zlib-dir=${zlib:location}
30
  --with-bz2-dir=${bzip2:location}
31
  --with-mcrypt=${libmcrypt:location}
32
  --with-gd
33 34 35 36 37 38 39 40 41
  --with-jpeg-dir=${libjpeg:location}
  --with-png-dir=${libpng:location}
  --enable-gd-native-ttf
  --with-ttf
  --with-freetype-dir=${freetype:location}
  --with-pdo-mysql=mysqlnd
  --with-mysqli=mysqlnd
  --with-curl=${curl:location}
  --with-zip-dir=${zip:location}
42
  --with-imap=${cclient:location}
43 44 45 46 47 48
  --with-iconv-dir=${libiconv:location}
  --with-gettext=${gettext:location}
  --with-ldap=${openldap:location}
  --with-imap-ssl
  --with-openssl=${openssl:location}
  --enable-libxml
49
  --enable-mbstring
50
  --enable-session
51 52
  --enable-exif
  --enable-zip
53
  --enable-bz2
54
  --enable-ftp
55 56

environment =
57
  PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig
58 59
  PATH=${pkgconfig:location}/bin:${bzip2:location}/bin:${libxml2:location}/bin:%(PATH)s
  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
60

61

62 63 64 65 66 67 68
[libmcrypt]
recipe = hexagonit.recipe.cmmi
url = http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.bz2/download
md5sum = c4f491dd411a09e9de3b8702ea6f73eb

[xml-rpc]
recipe = hexagonit.recipe.cmmi
69
url = http://downloads.sourceforge.net/project/phpxmlrpc/phpxmlrpc/2.2.2/xmlrpc-2.2.2.tar.gz
70
md5sum = 59a644c636c6d98267d0c99b406ae9e8