aports/testing/php82-pecl-excimer/APKBUILD
2024-12-04 01:16:54 +00:00

37 lines
1 KiB
Text

# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php82-pecl-excimer
_extname=excimer
pkgver=1.2.3
pkgrel=0
pkgdesc="Interrupting timer and low-overhead sampling profiler PHP 8.2 - PECL"
url="https://pecl.php.net/package/excimer"
arch="all"
license="Apache-2.0"
_phpv=82
_php=php$_phpv
depends="$_php-common"
makedepends="$_php-dev"
source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir"/$_extname-$pkgver
build() {
phpize$_phpv
./configure --prefix=/usr --with-php-config=/usr/bin/php-config$_phpv
make
}
check() {
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
$_php -d extension=modules/$_extname.so --ri $_extname
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/$_php/conf.d
install -d $_confdir
echo "extension=$_extname" > $_confdir/$_extname.ini
}
sha512sums="
bcb4c89470d538853bb445c3167b91e87c4e5c2ac14ea0b3a7c88ff029f4eb789cec8677289031dd2a6609da1030e31c46599cf3f84c37cef77bed308fa3804a php-pecl-excimer-1.2.3.tar.gz
"