sortix-mirror/ports/php/php.port

19 lines
879 B
Plaintext

NAME=php
BUILD_LIBRARIES='libiconv libsqlite3 libxml2 libbz2? libcurl? libffi? libintl? libgmp? libreadline? liblzma? libssl? libpcre? libz?'
VERSION=8.3.6
DISTNAME=$NAME-$VERSION
COMPRESSION=tar.gz
ARCHIVE=$DISTNAME.$COMPRESSION
SHA256SUM=39695f5bd107892e36fd2ed6b3d3a78140fd4b05d556d6c6531a921633cacb5f
UPSTREAM_SITE=https://www.php.net/distributions
UPSTREAM_ARCHIVE=$ARCHIVE
RELEASE_SEARCH_PAGE=https://www.php.net/downloads.php
LICENSE=LICENSE=PHP-3.0
USE_BOOTSTRAP=true # php uses php to build phar
BOOTSTRAP_BUILD_SYSTEM=configure
BOOTSTRAP_CONFIGURE_ARGS='--with-layout=GNU --disable-cgi --disable-phpdbg --disable-all --enable-phar'
BOOTSTRAP_MAKE_VARS='V=1'
BUILD_SYSTEM=configure
CONFIGURE_ARGS='--with-layout=GNU --disable-opcache --disable-fileinfo --enable-mbstring --disable-mbregex --enable-fpm --with-fpm-user=_php-fpm --with-fpm-group=_php-fpm'
MAKE_VARS='V=1'