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

30 lines
752 B
Bash

# Template file for 'php8.2-apcu'
pkgname=php8.2-apcu
version=5.1.23
revision=2
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.2"
make_check_target=test
hostmakedepends="autoconf php8.2-devel"
makedepends="php8.2-devel pcre2-devel"
depends="php8.2"
short_desc="In-memory key-value store for PHP"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/APCu"
distfiles="https://pecl.php.net/get/apcu-${version}.tgz"
checksum=67ee7464ccad2335c3fa4aeb0b8edbcf6d8344feea7922620c6a13015d604482
pre_configure() {
phpize8.2
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
vdoc "${FILESDIR}/README.voidlinux"
}