void-packages/srcpkgs/php-apcu/template

29 lines
662 B
Bash

# Template file for 'php-apcu'
pkgname=php-apcu
version=5.1.15
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=ec178a91ae54c84df745ec0b394f13d47d02eda6e7578a59e4558d3f6077216d
pre_configure() {
phpize
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
}