From afa9925c36836e48d349fce6731440fc8e082b17 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 26 Dec 2016 10:55:03 +0100 Subject: [PATCH] New package: php-apcu-5.1.7 --- srcpkgs/php-apcu/INSTALL.msg | 3 +++ srcpkgs/php-apcu/template | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/php-apcu/INSTALL.msg create mode 100644 srcpkgs/php-apcu/template diff --git a/srcpkgs/php-apcu/INSTALL.msg b/srcpkgs/php-apcu/INSTALL.msg new file mode 100644 index 00000000000..9da8a70ccc2 --- /dev/null +++ b/srcpkgs/php-apcu/INSTALL.msg @@ -0,0 +1,3 @@ +To enable APCu add the following line to your php.ini: + + extension=apcu.so diff --git a/srcpkgs/php-apcu/template b/srcpkgs/php-apcu/template new file mode 100644 index 00000000000..f5b41e207a6 --- /dev/null +++ b/srcpkgs/php-apcu/template @@ -0,0 +1,27 @@ +# 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 " +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 $DESTDIR/usr/include +}