void-packages/srcpkgs/php-apcu/template

29 lines
662 B
Bash

# Template file for 'php-apcu'
pkgname=php-apcu
version=5.1.12
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.eu>"
license="PHP-3.01"
homepage="https://pecl.php.net/package/APCu"
distfiles="https://pecl.php.net/get/apcu-${version}.tgz"
checksum=4126f771cdcd8cc32e2ad024bae5b25611b28e6077fdbff8efe28ce55306797a
pre_configure() {
phpize
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
}