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
|
2017-10-31 16:33:48 +01:00
|
|
|
# Depends on: libpcre libxml2
|
2008-05-07 19:42:29 +02:00
|
|
|
|
|
|
|
name=php-fcgi
|
2019-04-10 14:45:02 +02:00
|
|
|
version=7.2.17
|
2008-12-05 11:37:44 +01:00
|
|
|
release=1
|
2014-09-19 13:27:15 +02:00
|
|
|
source=(http://php.net/distributions/php-$version.tar.xz
|
2008-05-07 19:42:29 +02:00
|
|
|
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 \
|
2013-02-25 13:11:10 +01:00
|
|
|
--disable-static --disable-debug \
|
|
|
|
--without-sqlite3 --without-pdo-sqlite \
|
|
|
|
--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
|
|
|
|
}
|