mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 16:02:55 +02:00
New package: php8.4-ast-1.1.2
This commit is contained in:
parent
49d70eae5b
commit
66ef4ee1c5
2 changed files with 30 additions and 0 deletions
2
srcpkgs/php8.4-ast/files/README.voidlinux
Normal file
2
srcpkgs/php8.4-ast/files/README.voidlinux
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
To enable the ast extension please add the following to php.ini:
|
||||||
|
extension=ast.so
|
28
srcpkgs/php8.4-ast/template
Normal file
28
srcpkgs/php8.4-ast/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'php8.4-ast'
|
||||||
|
pkgname=php8.4-ast
|
||||||
|
version=1.1.2
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-php-config=/usr/bin/php-config8.4"
|
||||||
|
make_check_target="test"
|
||||||
|
hostmakedepends="php8.4-devel autoconf"
|
||||||
|
makedepends="php8.4-devel"
|
||||||
|
depends="php8.4"
|
||||||
|
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=8742427ff7c07ba93f940968f7363972ea040d97d847da3b79b4283c2a369dea
|
||||||
|
make_check_pre="env NO_INTERACTION=1"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
phpize8.4
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make INSTALL_ROOT=${DESTDIR} install
|
||||||
|
vlicense LICENSE
|
||||||
|
vdoc "${FILESDIR}/README.voidlinux"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue