void-packages/srcpkgs/php-apcu/template

29 lines
662 B
Bash

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