void-packages/srcpkgs/php-apcu/template
cr6git 7e9f474ce8 php-apcu: rebuild to match PHP API
Closes: #9836 [via git-merge-pr]
2017-12-08 02:35:58 +01:00

27 lines
629 B
Bash

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