New package: php8.0-ast-1.0.16

This commit is contained in:
Joel Beckmeyer 2022-03-15 14:30:18 -04:00 committed by Echo
parent 5014053590
commit cf4fc15ab0
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,2 @@
To enable the ast extension please add the following to php.ini:
extension=ast.so

View file

@ -0,0 +1,25 @@
# Template file for 'php8.0-ast'
pkgname=php8.0-ast
version=1.0.16
revision=1
wrksrc="ast-${version}"
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.0"
hostmakedepends="php8.0-devel autoconf"
makedepends="php8.0-devel"
depends="php8.0"
short_desc="Exposes the abstract syntax tree generated by PHP"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="BSD-3-Clause"
homepage="https://github.com/nikic/php-ast"
distfiles="https://pecl.php.net/get/ast-${version}.tgz"
checksum=45bda34b780c4661ce77cf65cd8a504fb56526d4b456edcc97d791c86f3879ce
pre_configure() {
phpize8.0
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}