void-packages/srcpkgs/php8.3-ast/template

29 lines
785 B
Bash
Raw Normal View History

2023-11-28 18:14:33 +01:00
# Template file for 'php8.3-ast'
pkgname=php8.3-ast
version=1.1.1
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.3"
make_check_target="test"
hostmakedepends="php8.3-devel autoconf"
makedepends="php8.3-devel"
depends="php8.3"
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=0c55e09a4da43b9cc1da72ecb4ae892941f73e157b73d46326bc6a5ed7fc44b1
make_check_pre="env NO_INTERACTION=1"
pre_configure() {
phpize8.3
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}