TERMUX_PKG_HOMEPAGE=https://php.net
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language"
TERMUX_PKG_HOMEPAGE=https://php.net
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language"
# Build native php for phar to build (see pear-Makefile.frag.patch):
TERMUX_PKG_HOSTBUILD=true
# Build the native php without xml support as we only need phar:
# Build native php for phar to build (see pear-Makefile.frag.patch):
TERMUX_PKG_HOSTBUILD=true
# Build the native php without xml support as we only need phar:
--with-libxml-dir=$TERMUX_PREFIX
--with-openssl=$TERMUX_PREFIX
--with-pcre-regex=$TERMUX_PREFIX
--with-libxml-dir=$TERMUX_PREFIX
--with-openssl=$TERMUX_PREFIX
--with-pcre-regex=$TERMUX_PREFIX
export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php
# Run autoconf since we have patched config.m4 files.
export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php
# Run autoconf since we have patched config.m4 files.
}
termux_step_post_make_install () {
mkdir -p $TERMUX_PREFIX/etc/php-fpm.d
cp sapi/fpm/php-fpm.conf $TERMUX_PREFIX/etc/
cp sapi/fpm/www.conf $TERMUX_PREFIX/etc/php-fpm.d/
}
termux_step_post_make_install () {
mkdir -p $TERMUX_PREFIX/etc/php-fpm.d
cp sapi/fpm/php-fpm.conf $TERMUX_PREFIX/etc/
cp sapi/fpm/www.conf $TERMUX_PREFIX/etc/php-fpm.d/