diff options
author | Juergen Daubert <jue@jue.li> | 2014-08-19 12:24:55 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2014-08-19 12:24:55 +0200 |
commit | fdb02384692a78c97e45d589b66fcce919196e19 (patch) | |
tree | 0b27d0a452106ec31583e38765546dcbae517838 /mod_php/Pkgfile | |
parent | 7cf29b5a117bbef97bc0af56d5795148cd159ccb (diff) | |
download | opt-fdb02384692a78c97e45d589b66fcce919196e19.tar.gz opt-fdb02384692a78c97e45d589b66fcce919196e19.tar.xz |
Revert "mod_php: removed" (FS#1035)
This reverts commit 19eeb5eb3bd48ba57a5104652f757473199bb0b6.
Diffstat (limited to 'mod_php/Pkgfile')
-rw-r--r-- | mod_php/Pkgfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mod_php/Pkgfile b/mod_php/Pkgfile new file mode 100644 index 000000000..8c7f1d6a8 --- /dev/null +++ b/mod_php/Pkgfile @@ -0,0 +1,35 @@ +# Description: PHP DSO module for apache +# URL: http://www.php.net +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: xz apache libxml2 + +name=mod_php +version=5.5.7 +release=1 +source=(http://www.php.net/distributions/php-$version.tar.xz) + +build () { + cd php-$version + + local APXS + APXS=$(which apxs) || APXS='/usr/sbin/apxs' + + local PHP_CONFIG=" + --prefix=/usr \ + --with-config-file-path=/etc/php \ + --with-config-file-scan-dir=/etc/php/conf.d \ + --with-zlib \ + --with-pcre-regex=/usr \ + --disable-static --disable-debug \ + --without-sqlite3 --without-pdo-sqlite \ + --without-pear" + + EXTENSION_DIR=/usr/lib/php/extensions \ + ./configure \ + $PHP_CONFIG \ + --with-apxs2=$APXS \ + --disable-cli + + make + install -D -m 755 libs/libphp5.so $PKG/usr/lib/apache/libphp5.so +} |