mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
35 lines
979 B
Text
35 lines
979 B
Text
# Contributor: Renoir Boulanger <hello@renoirboulanger.com>
|
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=php81-pecl-yaml
|
|
_extname=yaml
|
|
pkgver=2.2.3
|
|
pkgrel=0
|
|
pkgdesc="YAML syntax bindings for PHP 8.1 - PECL"
|
|
url="https://pecl.php.net/package/yaml"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="php81-common"
|
|
makedepends="php81-dev yaml-dev"
|
|
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
|
builddir="$srcdir/$_extname-$pkgver"
|
|
|
|
build() {
|
|
phpize81
|
|
./configure --prefix=/usr --with-php-config=php-config81
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
|
|
}
|
|
|
|
package() {
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
local _confdir="$pkgdir"/etc/php81/conf.d
|
|
install -d $_confdir
|
|
echo "extension=$_extname" > $_confdir/70_$_extname.ini
|
|
}
|
|
|
|
sha512sums="
|
|
99d63d430dd2fa9767ecb3f70599d2ebd4c53b27770df72c00c4723816de422c581cea05e96c3cba5aaecbdc57cc482fad0f1fa300bdcf887daa7c2c034e6f4b php-pecl-yaml-2.2.3.tgz
|
|
"
|