2008-05-07 20:29:16 +02:00
|
|
|
# Description: PHP DSO module for apache
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://www.php.net
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2008-05-07 20:29:16 +02:00
|
|
|
# Depends on: apache libxml2
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=mod_php
|
2008-05-07 20:29:16 +02:00
|
|
|
version=5.2.6
|
2008-07-09 09:59:59 +02:00
|
|
|
release=2
|
2008-05-07 20:29:16 +02:00
|
|
|
source=(http://www.php.net/distributions/php-$version.tar.bz2)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd php-$version
|
2008-05-07 20:29:16 +02:00
|
|
|
|
|
|
|
local PHP_CONFIG="
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-config-file-path=/etc/php \
|
|
|
|
--with-config-file-scan-dir=/etc/php/conf.d \
|
2008-07-09 09:59:59 +02:00
|
|
|
--with-zlib \
|
2008-05-07 21:03:08 +02:00
|
|
|
--disable-static --disable-debug --without-pear"
|
2008-05-07 20:29:16 +02:00
|
|
|
|
|
|
|
EXTENSION_DIR=/usr/lib/php/extensions \
|
|
|
|
./configure \
|
|
|
|
$PHP_CONFIG \
|
|
|
|
--with-apxs2=/usr/sbin/apxs \
|
|
|
|
--disable-cli
|
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
2008-05-07 20:29:16 +02:00
|
|
|
install -D -m 755 libs/libphp5.so $PKG/usr/lib/apache/libphp5.so
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|