Merge pull request #6056 from qubist-pixel-ux/master
Compile php with php-tidy
This commit is contained in:
commit
5d2acaf2a2
@ -2,14 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://php.net
|
||||
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language"
|
||||
TERMUX_PKG_LICENSE="PHP-3.0"
|
||||
TERMUX_PKG_VERSION=7.4.11
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=1d62b84db02aaee06e8fac8d155d205d1cefc3a5042f9e50fd00fc4ae3ea4e36
|
||||
# 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:
|
||||
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear --disable-sqlite3 --without-libxml --without-sqlite3 --without-pdo-sqlite"
|
||||
TERMUX_PKG_DEPENDS="freetype, libandroid-glob, libandroid-support, libbz2, libcrypt, libcurl, libgd, libgmp, libiconv, liblzma, libsqlite, libxml2, libxslt, libzip, oniguruma, openssl, pcre2, readline, zlib, libicu, libffi"
|
||||
TERMUX_PKG_DEPENDS="freetype, libandroid-glob, libandroid-support, libbz2, libcrypt, libcurl, libgd, libgmp, libiconv, liblzma, libsqlite, libxml2, libxslt, libzip, oniguruma, openssl, pcre2, readline, zlib, libicu, libffi, tidy-static"
|
||||
TERMUX_PKG_CONFLICTS="php-mysql, php-dev"
|
||||
TERMUX_PKG_REPLACES="php-mysql, php-dev"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="php/php/fpm"
|
||||
@ -46,6 +46,7 @@ ac_cv_func_res_nsearch=no
|
||||
--with-xsl
|
||||
--with-gmp
|
||||
--with-ffi
|
||||
--with-tidy=$TERMUX_PREFIX
|
||||
--enable-intl
|
||||
--sbindir=$TERMUX_PREFIX/bin
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user