From 9d0e219094987ef8d6fb47950b4b027e541879e9 Mon Sep 17 00:00:00 2001 From: Ian Hu Date: Sat, 7 Aug 2021 13:57:00 +0000 Subject: [PATCH] add php-apcu --- packages/php-apcu/build.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/php-apcu/build.sh diff --git a/packages/php-apcu/build.sh b/packages/php-apcu/build.sh new file mode 100644 index 000000000..f982177a9 --- /dev/null +++ b/packages/php-apcu/build.sh @@ -0,0 +1,18 @@ +TERMUX_PKG_HOMEPAGE=http://php.net/apcu +TERMUX_PKG_DESCRIPTION="APCu - APC User Cache" +TERMUX_PKG_LICENSE="PHP-3.01" +TERMUX_PKG_LICENSE_FILE=LICENSE +TERMUX_PKG_MAINTAINER="ian4hu " +TERMUX_PKG_VERSION=5.1.20 +TERMUX_PKG_SRCURL="https://github.com/krakjoe/apcu/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz" +TERMUX_PKG_DEPENDS=php +TERMUX_PKG_SHA256=8d3868f37808d85274fbdea48bab0fd7a32302c87d5a8bcad841c8e517174ffd +# php is (currently) blacklisted for x86_64. Need to blacklist +# php-apcu as well for the same arch for +# ./build-package.sh -a all -i php-apcu +# to succeed +TERMUX_PKG_BLACKLISTED_ARCHES="x86_64" + +termux_step_pre_configure() { + $TERMUX_PREFIX/bin/phpize +}