New package: php8.5-apcu-5.1.28

This commit is contained in:
Joel Beckmeyer
2026-05-10 05:44:22 +02:00
committed by Duncan Overbruck
parent fa90dbc555
commit 1a5a7f288a
3 changed files with 34 additions and 0 deletions
@@ -0,0 +1,3 @@
To enable APCu add the following line to your php.ini:
extension=apcu.so
+29
View File
@@ -0,0 +1,29 @@
# Template file for 'php8.5-apcu'
pkgname=php8.5-apcu
version=5.1.28
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.5"
make_check_target=test
hostmakedepends="autoconf php8.5-devel"
makedepends="php8.5-devel pcre2-devel"
depends="php8.5"
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=ca9c1820810a168786f8048a4c3f8c9e3fd941407ad1553259fb2e30b5f057bf
pre_configure() {
phpize8.5
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
vdoc "${FILESDIR}/README.voidlinux"
}
+2
View File
@@ -0,0 +1,2 @@
site="https://pecl.php.net/package/APCu"
pattern="apcu-\K[\d\.]*(?=\.tgz)"