New package: php8.2-redis-6.0.2

This commit is contained in:
Joel Beckmeyer 2023-06-26 13:16:47 -04:00 committed by classabbyamp
parent 3d3175eee1
commit baea4c62ac
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.2-redis'
pkgname=php8.2-redis
version=6.0.2
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.2"
hostmakedepends="php8.2-devel autoconf pkg-config"
makedepends="php8.2-devel"
depends="php8.2"
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.2
}
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>)'