void-packages/srcpkgs/php-apcu/template
2018-03-30 13:29:39 +02:00

27 lines
635 B
Bash

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