|
@ -1,14 +1,14 @@ |
|
|
TERMUX_PKG_HOMEPAGE=https://php.net |
|
|
TERMUX_PKG_HOMEPAGE=https://php.net |
|
|
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language" |
|
|
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language" |
|
|
TERMUX_PKG_LICENSE="PHP-3.0" |
|
|
TERMUX_PKG_LICENSE="PHP-3.0" |
|
|
TERMUX_PKG_VERSION=7.2.12 |
|
|
TERMUX_PKG_VERSION=7.3.1 |
|
|
TERMUX_PKG_SHA256=989c04cc879ee71a5e1131db867f3c5102f1f7565f805e2bb8bde33f93147fe1 |
|
|
TERMUX_PKG_SHA256=cfe93e40be0350cd53c4a579f52fe5d8faf9c6db047f650a4566a2276bf33362 |
|
|
TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz |
|
|
TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz |
|
|
# Build native php for phar to build (see pear-Makefile.frag.patch): |
|
|
# Build native php for phar to build (see pear-Makefile.frag.patch): |
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
# Build the native php without xml support as we only need phar: |
|
|
# Build the native php without xml support as we only need phar: |
|
|
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear" |
|
|
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear" |
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libxml2, liblzma, openssl, pcre, libbz2, libcrypt, libcurl, libgd, readline, freetype" |
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libxml2, liblzma, openssl, pcre2, libbz2, libcrypt, libcurl, libgd, readline, freetype" |
|
|
# mysql modules were initially shared libs |
|
|
# mysql modules were initially shared libs |
|
|
TERMUX_PKG_CONFLICTS="php-mysql" |
|
|
TERMUX_PKG_CONFLICTS="php-mysql" |
|
|
TERMUX_PKG_REPLACES="php-mysql" |
|
|
TERMUX_PKG_REPLACES="php-mysql" |
|
@ -30,13 +30,14 @@ ac_cv_func_res_nsearch=no |
|
|
--with-curl=$TERMUX_PREFIX |
|
|
--with-curl=$TERMUX_PREFIX |
|
|
--with-freetype-dir=$TERMUX_PREFIX |
|
|
--with-freetype-dir=$TERMUX_PREFIX |
|
|
--with-gd=$TERMUX_PREFIX |
|
|
--with-gd=$TERMUX_PREFIX |
|
|
--with-iconv=$TERMUX_PREFIX |
|
|
--without-iconv |
|
|
--with-libxml-dir=$TERMUX_PREFIX |
|
|
--with-libxml-dir=$TERMUX_PREFIX |
|
|
--with-openssl=$TERMUX_PREFIX |
|
|
--with-openssl=$TERMUX_PREFIX |
|
|
--with-pcre-regex=$TERMUX_PREFIX |
|
|
--with-pcre-regex=$TERMUX_PREFIX |
|
|
--with-png-dir=$TERMUX_PREFIX |
|
|
--with-png-dir=$TERMUX_PREFIX |
|
|
--with-readline=$TERMUX_PREFIX |
|
|
--with-readline=$TERMUX_PREFIX |
|
|
--with-zlib |
|
|
--with-zlib |
|
|
|
|
|
--without-libzip |
|
|
--with-pgsql=shared,$TERMUX_PREFIX |
|
|
--with-pgsql=shared,$TERMUX_PREFIX |
|
|
--with-pdo-pgsql=shared,$TERMUX_PREFIX |
|
|
--with-pdo-pgsql=shared,$TERMUX_PREFIX |
|
|
--with-mysqli=mysqlnd |
|
|
--with-mysqli=mysqlnd |
|
|