New package: php8.2-ast-1.1.0

This commit is contained in:
Joel Beckmeyer 2023-03-07 10:42:58 -05:00 committed by Michal Vasilek
parent 62880efcf8
commit 36e746c954
2 changed files with 29 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,27 @@
# Template file for 'php8.2-ast'
pkgname=php8.2-ast
version=1.1.0
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.2"
make_check_target="test"
hostmakedepends="php8.2-devel autoconf"
makedepends="php8.2-devel"
depends="php8.2"
checkdepends="${depends}"
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=ee3d4f67e24d82e4d340806a24052012e4954d223122949377665427443e6d13
make_check_pre="env NO_INTERACTION=1"
pre_configure() {
phpize8.2
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}