26 lines
684 B
Bash
26 lines
684 B
Bash
# 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
|
|
}
|