void-packages/srcpkgs/php-apcu/template

29 lines
664 B
Bash

# Template file for 'php-apcu'
pkgname=php-apcu
version=5.1.17
revision=1
wrksrc="apcu-${version}"
build_style=gnu-configure
make_check_target=test
hostmakedepends="autoconf pcre2-devel php-devel"
makedepends="php-devel"
depends="php"
short_desc="In-memory key-value store for PHP"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/APCu"
distfiles="https://pecl.php.net/get/apcu-${version}.tgz"
checksum=6b11b477890a9c096ad856e0251920d1d8b9558b7d115256c027e0223755c793
pre_configure() {
phpize
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
}