mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/php85-pecl-vld: new aport
This commit is contained in:
parent
ac64f7490a
commit
15fa802ef8
37
testing/php85-pecl-vld/APKBUILD
Normal file
37
testing/php85-pecl-vld/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
||||||
|
pkgname=php85-pecl-vld
|
||||||
|
_extname=vld
|
||||||
|
pkgver=0.19.1
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Dumps the internal representation of PHP 8.5 scripts - PECL"
|
||||||
|
url="https://pecl.php.net/package/vld"
|
||||||
|
arch="all"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
_phpv=85
|
||||||
|
_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() {
|
||||||
|
$_php -dextension=modules/$_extname.so --ri $_extname
|
||||||
|
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="
|
||||||
|
2229cc9a936dd7bdc26df694f22f19962f3b84185b1e8e4f60f7ba5135224318e38d491a7de3abf9b1d241eaa4fc061cd6053f3f6aca322a58755531fca7e696 php-pecl-vld-0.19.1.tgz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user