aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-apcu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/php7-pecl-apcu/APKBUILD')
-rw-r--r--community/php7-pecl-apcu/APKBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/community/php7-pecl-apcu/APKBUILD b/community/php7-pecl-apcu/APKBUILD
deleted file mode 100644
index 75f83598aab..00000000000
--- a/community/php7-pecl-apcu/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
-pkgname=php7-pecl-apcu
-_pkgreal=apcu
-pkgver=5.1.19
-pkgrel=0
-pkgdesc="PHP extension APC User Cache - PECL"
-url="https://pecl.php.net/package/apcu"
-arch="all"
-license="PHP-3.01"
-depends="php7-common"
-makedepends="pcre2-dev php7-dev"
-checkdepends="php7-pcntl php7-session"
-source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir/$_pkgreal-$pkgver"
-provides="php7-apcu=$pkgver-r$pkgrel" # for backward compatibility
-replaces="php7-apcu" # for backward compatibility
-
-build() {
- phpize7
- ./configure --prefix=/usr --with-php-config=php-config7
- make
-}
-
-check() {
- local modules="/usr/lib/php7/modules"
- make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test \
- PHP_TEST_SHARED_EXTENSIONS=" \
- -d extension=$modules/pcntl.so \
- -d extension=modules/$_pkgreal.so"
-}
-
-package() {
- make INSTALL_ROOT="$pkgdir"/ install
- install -D -m644 apc.php "$pkgdir"/usr/share/php7/apcu/apc.php
-
- install -d "$pkgdir"/etc/php7/conf.d
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
-}
-
-sha512sums="45077e3bd0eac207539e2eafe21968c71f49b8c8920168dbafa87961b041f1d348b6bf1c130104744bc541e1f690854f0a29062e9520db81c04edeee3ef2ed99 apcu-5.1.19.tgz"