php: Enable sodium module
This commit is contained in:
parent
2b8b24fe09
commit
f784482198
@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="PHP-3.01"
|
|||||||
TERMUX_PKG_LICENSE_FILE=LICENSE
|
TERMUX_PKG_LICENSE_FILE=LICENSE
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=8.0.13
|
TERMUX_PKG_VERSION=8.0.13
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=ee1369199b26fc088ce6f51c111be0fbb42d1b10b107437c782a4701c0ea673f
|
TERMUX_PKG_SHA256=ee1369199b26fc088ce6f51c111be0fbb42d1b10b107437c782a4701c0ea673f
|
||||||
# Build native php for phar to build (see pear-Makefile.frag.patch):
|
# Build native php for phar to build (see pear-Makefile.frag.patch):
|
||||||
@ -30,6 +31,7 @@ ac_cv_func_res_nsearch=no
|
|||||||
--with-curl=$TERMUX_PREFIX
|
--with-curl=$TERMUX_PREFIX
|
||||||
--with-openssl=$TERMUX_PREFIX
|
--with-openssl=$TERMUX_PREFIX
|
||||||
--with-readline=$TERMUX_PREFIX
|
--with-readline=$TERMUX_PREFIX
|
||||||
|
--with-sodium=shared,$TERMUX_PREFIX
|
||||||
--with-iconv-dir=$TERMUX_PREFIX
|
--with-iconv-dir=$TERMUX_PREFIX
|
||||||
--with-zlib
|
--with-zlib
|
||||||
--with-pgsql=shared,$TERMUX_PREFIX
|
--with-pgsql=shared,$TERMUX_PREFIX
|
||||||
|
3
packages/php/php-sodium.subpackage.sh
Normal file
3
packages/php/php-sodium.subpackage.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MUX_SUBPKG_INCLUDE="lib/php/sodium.so"
|
||||||
|
TERMUX_SUBPKG_DEPENDS="libsodium"
|
||||||
|
TERMUX_SUBPKG_DESCRIPTION="Sodium module for PHP"
|
Loading…
Reference in New Issue
Block a user