1 # $Id: PKGBUILD 136162 2011-08-23 15:55:48Z pierre $
2 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
10 url='http://www.php.net'
11 depends=('php' 'libxml2')
12 source=("http://www.php.net/distributions/${base}-${pkgver}.tar.bz2")
13 pkgdesc='An HTML-embedded scripting language'
14 md5sums=('704cd414a0565d905e1074ffdc1fadfb')
17 phpconfig="--srcdir=../${base}-${pkgver} \
19 --sysconfdir=/etc/php \
20 --localstatedir=/var \
22 --with-config-file-path=/etc/php \
23 --with-config-file-scan-dir=/etc/php/conf.d \
24 --enable-inline-optimization \
29 --mandir=/usr/share/man \
36 EXTENSION_DIR=/usr/lib/php/modules
38 PEAR_INSTALLDIR=/usr/share/pear
39 export PEAR_INSTALLDIR
41 cd ${srcdir}/${base}-${pkgver}
44 mkdir ${srcdir}/build-php
45 cd ${srcdir}/build-php
46 ln -s ../${base}-${pkgver}/configure
47 ./configure ${phpconfig} \
55 cd ${srcdir}/build-php
56 make -j1 INSTALL_ROOT=${pkgdir} install-pear