void-packages/srcpkgs/php-ast/template
2020-03-31 09:44:06 +02:00

24 lines
612 B
Bash

# Template file for 'php-ast'
pkgname=php-ast
version=1.0.6
revision=1
wrksrc="ast-${version}"
build_style=gnu-configure
hostmakedepends="autoconf"
makedepends="php-devel"
depends="php>=7.4.3"
short_desc="Exposes the abstract syntax tree generated by PHP 7"
maintainer="Merlin Diavova <merlindiavova@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/nikic/php-ast"
distfiles="https://pecl.php.net/get/ast-${version}.tgz"
checksum=70347b04d5ab6223106bb098483a74ac0aa23e3e7fd41549ae95d56ccb15631e
pre_configure() {
phpize
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}