diff options
Diffstat (limited to 'community/php7-pecl-igbinary/APKBUILD')
-rw-r--r-- | community/php7-pecl-igbinary/APKBUILD | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/community/php7-pecl-igbinary/APKBUILD b/community/php7-pecl-igbinary/APKBUILD deleted file mode 100644 index 7e5cfd5baa1..00000000000 --- a/community/php7-pecl-igbinary/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Andy Postnikov <apostnikov@gmail.com> -# Maintainer: Andy Postnikov <apostnikov@gmail.com> - -pkgname=php7-pecl-igbinary -_extname=igbinary -pkgver=3.2.3 -pkgrel=0 -pkgdesc="Igbinary is a drop in replacement for the standard PHP 7 serializer - PECL" -url="https://pecl.php.net/package/igbinary" -arch="all" -license="BSD-3-Clause" -provides="php7-igbinary=$pkgver-r$pkgrel" # for backward compatibility -replaces="php7-igbinary" # for backward compatibility -depends="php7-common" -makedepends="php7-dev php7-pecl-apcu" -checkdepends="php7-json php7-session" # sessions needs work https://github.com/igbinary/igbinary/issues/116 -source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz" -builddir="$srcdir/$_extname-$pkgver" - -build() { - phpize7 - ./configure \ - --prefix=/usr \ - --with-php-config=/usr/bin/php-config7 - make -} - -check() { - local modules="/usr/lib/php7/modules" - # Tests require extra extensions which are not bundled - make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test \ - TESTS=--show-diff \ - PHP_TEST_SHARED_EXTENSIONS=" - -d extension=$modules/apcu.so \ - -d extension=$modules/json.so \ - -d extension=$modules/session.so \ - -d extension=modules/$_extname.so" -} - -package() { - make INSTALL_ROOT="$pkgdir" install - local _confdir="$pkgdir"/etc/php7/conf.d - install -d $_confdir - echo "extension=$_extname" > $_confdir/10_$_extname.ini -} - -sha512sums=" -de62eb7eedcafc4f832571867e8b66da7022f057ce88694f850dd96277277e44709033da4d3eef9b5e0080a991951d01b5525e31f8f08a7e120fd3caed1b7f8d php-pecl-igbinary-3.2.3.tgz -" |