termux-packages/packages/php-redis/build.sh

18 lines
667 B
Bash
Raw Normal View History

2020-09-28 14:18:38 +02:00
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.4
2020-09-28 14:18:38 +02:00
TERMUX_PKG_SRCURL=https://github.com/phpredis/phpredis/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c0df53dc4e8cd2921503fefa224cfd51de7f74561324a6d3c66f30d4016178b3
2020-09-28 14:18:38 +02:00
TERMUX_PKG_DEPENDS=php
# php is (currently) blacklisted for x86_64. Need to blacklist
# php-redis as well for the same arch for
# ./build-package.sh -a all -i php-redis
# to succeed
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
2020-09-28 14:18:38 +02:00
termux_step_pre_configure() {
$TERMUX_PREFIX/bin/phpize
}