void-packages/srcpkgs/php-apcu/template
2016-12-26 11:03:08 +01:00

27 lines
629 B
Bash

# Template file for 'php-apcu'
pkgname=php-apcu
version=5.1.7
revision=1
build_style=gnu-configure
hostmakedepends="php-devel autoconf pcre-devel"
makedepends="php-devel"
depends="php"
short_desc="In-memory key-value store for PHP"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="PHP"
homepage="https://pecl.php.net/package/APCu"
distfiles="https://pecl.php.net/get/apcu-$version.tgz"
checksum=e71e12985f52d4f4311beedf54540a16b76cf7d2d8b8c1028ec4491d4c0f962c
wrksrc="apcu-$version"
pre_configure() {
phpize
}
pre_install() {
make_install_args="INSTALL_ROOT=$DESTDIR"
}
post_install() {
rm -r $DESTDIR/usr/include
}