New package: php8.1-redis-6.0.2

This commit is contained in:
Joel Beckmeyer 2023-06-26 13:16:44 -04:00 committed by classabbyamp
parent 5ad64b3109
commit 36f747bfc8
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,3 @@
To enable the Redis extension add the following line to your php.ini:
extension=redis

View File

@ -0,0 +1,27 @@
# Template file for 'php8.1-redis'
pkgname=php8.1-redis
version=6.0.2
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="php8.1-devel autoconf pkg-config"
makedepends="php8.1-devel"
depends="php8.1"
short_desc="PHP extension for Redis"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/redis"
distfiles="https://pecl.php.net/get/redis-$version.tgz"
checksum=01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03
pre_configure() {
phpize8.1
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
vdoc $FILESDIR/README.voidlinux
}

View File

@ -0,0 +1 @@
pattern='<th.*Release \K[\d.]+(?=:</th>)'