void-packages/srcpkgs/php8.2-redis/template

28 lines
687 B
Bash

# 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
}