mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php8-pecl-runkit7
|
|
_extname=runkit7
|
|
pkgver=4.0.0a3
|
|
pkgrel=0
|
|
pkgdesc="PHP 8 extension for replace, rename, and remove user defined functions, methods, and constants - PECL"
|
|
url="https://pecl.php.net/package/runkit7"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
depends="php8-common"
|
|
makedepends="php8-dev"
|
|
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir/$_extname-$pkgver"
|
|
|
|
build() {
|
|
phpize8
|
|
./configure --prefix=/usr --with-php-config=/usr/bin/php-config8
|
|
make
|
|
}
|
|
|
|
check() {
|
|
php8 -dextension=modules/$_extname.so --ri $_extname
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
local _confdir="$pkgdir"/etc/php8/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/$_extname.ini
|
|
}
|
|
|
|
sha512sums="
|
|
a4559ed86ca76af94d4793cb6c4c9dcf367f217b81e5cf978745a6dba9c00ee981a46a753075ff249cbc0f8f13aba18f0f302d619f246271445577222b578d3f php-pecl-runkit7-4.0.0a3.tgz
|
|
"
|