vp-build/srcpkgs/php-apcu/template

29 lines
662 B
Bash

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