void-packages/srcpkgs/php-apcu/template

29 lines
663 B
Bash

# Template file for 'php-apcu'
pkgname=php-apcu
version=5.1.16
revision=1
wrksrc="apcu-${version}"
build_style=gnu-configure
make_check_target=test
hostmakedepends="autoconf pcre-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=d1fe9eebd0eedc04693f88a6908beff8155755edf4f02e36dd34ec35b04d71e5
pre_configure() {
phpize
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
}