mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			979 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			979 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Renoir Boulanger <hello@renoirboulanger.com>
 | |
| # Maintainer: Andy Postnikov <apostnikov@gmail.com>
 | |
| pkgname=php82-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="php82-common"
 | |
| makedepends="php82-dev yaml-dev"
 | |
| source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
 | |
| builddir="$srcdir/$_extname-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	phpize82
 | |
| 	./configure --prefix=/usr --with-php-config=php-config82
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make INSTALL_ROOT="$pkgdir" install
 | |
| 	local _confdir="$pkgdir"/etc/php82/conf.d
 | |
| 	install -d $_confdir
 | |
| 	echo "extension=$_extname" > $_confdir/70_$_extname.ini
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 99d63d430dd2fa9767ecb3f70599d2ebd4c53b27770df72c00c4723816de422c581cea05e96c3cba5aaecbdc57cc482fad0f1fa300bdcf887daa7c2c034e6f4b  php-pecl-yaml-2.2.3.tgz
 | |
| "
 |