mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-06 10:53:21 +00:00
Have not tested all addons, but at least php-redis and php-imagick fails to load after update: $ php -dextension=redis.so Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /data/data/com.termux/files/usr/lib/php/redis.so (dlopen failed: cannot locate symbol "_zend_get_parameters_array_ex" referenced by "/data/data/com.termux/files/usr/lib/php/redis.so"...), /data/data/com.termux/files/usr/lib/php/redis.so.so (dlopen failed: library "/data/data/com.termux/files/usr/lib/php/redis.so.so" not found)) in Unknown on line 0 $ php -dextension=imagick.so Warning: PHP Startup: imagick: Unable to initialize module Module compiled with module API=20210902 PHP compiled with module API=20220829 These options need to match in Unknown on line 0 Rebuild all our addons to fix these issues.
16 lines
557 B
Bash
16 lines
557 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/phpredis/phpredis
|
|
TERMUX_PKG_DESCRIPTION="PHP extension for interfacing with Redis"
|
|
TERMUX_PKG_LICENSE="PHP-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=5.3.7
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/phpredis/phpredis/archive/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=6f5cda93aac8c1c4bafa45255460292571fb2f029b0ac4a5a4dc66987a9529e6
|
|
TERMUX_PKG_DEPENDS=php
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
|
|
termux_step_pre_configure() {
|
|
$TERMUX_PREFIX/bin/phpize
|
|
}
|