aboutsummaryrefslogtreecommitdiffstats
path: root/main/php5-apcu
diff options
context:
space:
mode:
Diffstat (limited to 'main/php5-apcu')
-rw-r--r--main/php5-apcu/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/php5-apcu/APKBUILD b/main/php5-apcu/APKBUILD
new file mode 100644
index 0000000000..610e545220
--- /dev/null
+++ b/main/php5-apcu/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+_php=php5
+pkgname=${_php}-apcu
+_pkgreal=apcu
+# release 5 is php7+
+pkgver=4.0.10
+_pkgver=${pkgver/_rc/RC}
+pkgrel=0
+pkgdesc="PHP extension APC User Cache"
+url="http://pecl.php.net/package/$_pkgreal"
+arch="all"
+license="PHP"
+depends=
+pecldepends="${_php}-dev autoconf"
+makedepends="$pecldepends pcre-dev"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$_pkgver
+
+build() {
+ cd "$_builddir"
+ phpize || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir"/ install || return 1
+ install -d "$pkgdir"/etc/php/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+}
+
+md5sums="e52d930a050066025095e2a448fd3cab apcu-4.0.10.tgz"
+sha256sums="8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712a3439eddabe3ce41b40 apcu-4.0.10.tgz"
+sha512sums="8aabd51996270cff98b9e329413f9cfcaa9be33a0df8bf9ad50ac2dfd320e348aee6432b8ecd498e077c490714184a82502ea656d825a5fcab70966780064163 apcu-4.0.10.tgz"