New package: php8.1-ast-1.0.16

This commit is contained in:
Joel Beckmeyer 2022-03-15 15:30:37 -04:00 committed by Echo
parent b66546ee60
commit 198cf44e5b
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.1-ast'
pkgname=php8.1-ast
version=1.0.16
revision=1
wrksrc="ast-${version}"
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="php8.1-devel autoconf"
makedepends="php8.1-devel"
depends="php8.1"
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.1
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}