mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
36 lines
1,003 B
Text
36 lines
1,003 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php82-pecl-psr
|
|
_extname=psr
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="PHP 8.2 extension provides the accepted PSR interfaces, so they can be used in an extension - PECL"
|
|
url="https://pecl.php.net/package/psr"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
_phpv=82
|
|
_php=php$_phpv
|
|
depends="$_php-common"
|
|
makedepends="$_php-dev"
|
|
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir/$_extname-$pkgver"
|
|
|
|
build() {
|
|
phpize$_phpv
|
|
./configure --prefix=/usr --with-php-config=php-config$_phpv
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
local _confdir="$pkgdir"/etc/$_php/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/$_extname.ini
|
|
}
|
|
|
|
sha512sums="
|
|
90d4bc1cd2364a15775024806ec5bc1b8f60ed44569162016a0a78fca89f4ad0f0e0b1f9f09ebdcfe6a803e888bddd1d8ce73100eec52ecc21c2e505a35ee5dd php-pecl-psr-1.2.0.tgz
|
|
"
|