summaryrefslogtreecommitdiff
path: root/php-fcgi/Pkgfile
blob: 5a897f15344b2ff8972a38552c0eba09f224ec01 (plain)
    1 # Description: CGI/FastCGI version of the PHP interpreter
    2 # URL:         http://www.php.net
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  libpcre2 libxml2
    5 
    6 name=php-fcgi
    7 version=7.3.7
    8 release=1
    9 source=(http://php.net/distributions/php-$version.tar.xz
   10         php-fcgi)
   11 
   12 build () {
   13     cd php-$version
   14 
   15     local PHP_CONFIG="
   16     --prefix=/usr \
   17     --with-config-file-path=/etc/php \
   18     --with-config-file-scan-dir=/etc/php/conf.d \
   19     --with-zlib \
   20     --with-pcre-regex=/usr \
   21     --disable-static --disable-debug \
   22     --without-sqlite3 --without-pdo-sqlite \
   23     --without-libzip \
   24     --without-pear"
   25 
   26     EXTENSION_DIR=/usr/lib/php/extensions \
   27     ./configure \
   28         $PHP_CONFIG \
   29         --enable-cgi \
   30         --disable-cli 
   31 
   32     make
   33 
   34     install -D -m 755 sapi/cgi/php-cgi $PKG/usr/bin/php-cgi
   35     install -D -m 755 $SRC/php-fcgi $PKG/etc/rc.d/php-fcgi
   36 }

Generated by cgit