2008-05-07 19:42:29 +02:00
|
|
|
# Description: CGI/FastCGI version of the PHP interpreter
|
|
|
|
# URL: http://www.php.net
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2010-03-01 18:03:25 +01:00
|
|
|
# Depends on: libpcre libxml2
|
2008-05-07 19:42:29 +02:00
|
|
|
|
|
|
|
name=php-fcgi
|
2013-01-17 18:51:40 +01:00
|
|
|
version=5.4.11
|
2008-12-05 11:37:44 +01:00
|
|
|
release=1
|
2008-05-07 19:42:29 +02:00
|
|
|
source=(http://www.php.net/distributions/php-$version.tar.bz2
|
|
|
|
php-fcgi)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
cd php-$version
|
|
|
|
|
|
|
|
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:41 +02:00
|
|
|
--with-zlib \
|
2008-12-05 11:52:12 +01:00
|
|
|
--with-pcre-regex=/usr \
|
2008-05-07 21:02:59 +02:00
|
|
|
--disable-static --disable-debug --without-pear"
|
2008-05-07 19:42:29 +02:00
|
|
|
|
|
|
|
EXTENSION_DIR=/usr/lib/php/extensions \
|
|
|
|
./configure \
|
|
|
|
$PHP_CONFIG \
|
|
|
|
--enable-cgi \
|
2011-01-07 18:01:10 +01:00
|
|
|
--disable-cli
|
2008-05-07 19:42:29 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
install -D -m 755 sapi/cgi/php-cgi $PKG/usr/bin/php-cgi
|
|
|
|
install -D -m 755 $SRC/php-fcgi $PKG/etc/rc.d/php-fcgi
|
|
|
|
}
|