1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/php83-pecl-excimer/APKBUILD
2025-05-19 21:39:37 +02:00

37 lines
1 KiB
Text

# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php83-pecl-excimer
_extname=excimer
pkgver=1.2.4
pkgrel=0
pkgdesc="Interrupting timer and low-overhead sampling profiler PHP 8.3 - PECL"
url="https://pecl.php.net/package/excimer"
arch="all"
license="Apache-2.0"
_phpv=83
_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="
abf661ad4f13d9850d1f54addfd9c5f75fb34c35130573e38d1a111e37292fd33578cabafd3935ebf3ed5b207fc3ec3139342d865f649585ad31a1344a87925a php-pecl-excimer-1.2.4.tar.gz
"