mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/php7-igbinary: new aport
This commit is contained in:
parent
71fa4c14b9
commit
70c09871a1
39
testing/php7-igbinary/APKBUILD
Normal file
39
testing/php7-igbinary/APKBUILD
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Contributor: Andy Postnikov <apostnikov@gmail.com>
|
||||||
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
||||||
|
|
||||||
|
pkgname=php7-igbinary
|
||||||
|
_pkgreal=igbinary
|
||||||
|
pkgver=2.0.6
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Igbinary is a drop in replacement for the standard php serializer"
|
||||||
|
url="https://pecl.php.net/package/igbinary"
|
||||||
|
arch="all"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
depends=""
|
||||||
|
makedepends="autoconf php7-dev"
|
||||||
|
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$builddir"
|
||||||
|
phpize7
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--with-php-config=/usr/bin/php-config7
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$builddir"
|
||||||
|
make INSTALL_ROOT="$pkgdir" install
|
||||||
|
install -d "$pkgdir"/etc/php7/conf.d
|
||||||
|
echo "extension=$_pkgreal.so" > \
|
||||||
|
"$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="56f230e42c155ab6bd309189fc94c09e1e60ce80e111fbb4a66cb977230a19690de84e0e2cbc21a764e053072a2f2a9629fa053c45a5acd649e6010c727b656a igbinary-2.0.6.tgz"
|
Loading…
Reference in New Issue
Block a user