New package: php8.3-redis-6.0.2

This commit is contained in:
Joel Beckmeyer 2023-12-13 08:28:55 -05:00 committed by classabbyamp
parent 546ef24a85
commit 4e2992deaf
5 changed files with 39 additions and 1 deletions

1
srcpkgs/php-redis Symbolic link
View File

@ -0,0 +1 @@
php

View File

@ -1,7 +1,7 @@
# Template file for 'php'
pkgname=php
version=8.3
revision=1
revision=2
build_style=meta
depends="php${version}"
short_desc="Meta package for PHP"
@ -161,6 +161,12 @@ php-mongodb_package() {
short_desc="PHP MongoDB driver meta package"
}
php-redis_package() {
depends="php${version}-redis"
build_style=meta
short_desc="PHP Redis extension meta package"
}
xdebug_package() {
depends="xdebug${version}"
build_style=meta

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.3-redis'
pkgname=php8.3-redis
version=6.0.2
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.3"
hostmakedepends="php8.3-devel autoconf pkg-config"
makedepends="php8.3-devel"
depends="php8.3"
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.3
}
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>)'