Skip to content

Commit

Permalink
New package: php8.2-redis-5.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
TinfoilSubmarine committed Sep 27, 2023
1 parent a2280ea commit 770503c
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions srcpkgs/php-redis
8 changes: 7 additions & 1 deletion srcpkgs/php/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'php'
pkgname=php
version=8.2
revision=2
revision=3
build_style=meta
depends="php${version}"
short_desc="Meta package for PHP"
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions srcpkgs/php8.2-redis/INSTALL.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
To enable the Redis extension add the following line to your php.ini:

extension=redis
23 changes: 23 additions & 0 deletions srcpkgs/php8.2-redis/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Template file for 'php8.2-redis'
pkgname=php8.2-redis
version=5.3.7
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 <[email protected]>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/redis"
distfiles="https://pecl.php.net/get/redis-$version.tgz"
checksum=b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0

pre_configure() {
phpize8.2
}

pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
1 change: 1 addition & 0 deletions srcpkgs/php8.2-redis/update
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pattern='<th.*Release \K[\d.]+(?=:</th>)'

0 comments on commit 770503c

Please sign in to comment.