Revert "mod_php: removed" (FS#1035)

This reverts commit 19eeb5eb3b.
This commit is contained in:
Juergen Daubert 2014-08-19 12:24:55 +02:00
parent 7cf29b5a11
commit fdb0238469
3 changed files with 40 additions and 0 deletions

4
mod_php/.footprint Normal file
View File

@ -0,0 +1,4 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/apache/
-rwxr-xr-x root/root usr/lib/apache/libphp5.so

1
mod_php/.md5sum Normal file
View File

@ -0,0 +1 @@
0c02437f661105221e99a301a5275a41 php-5.5.7.tar.xz

35
mod_php/Pkgfile Normal file
View File

@ -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
}