mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
New package: php-ast-1.0.6
This commit is contained in:
parent
7ccedc29f1
commit
5f909abf9b
2 changed files with 26 additions and 0 deletions
2
srcpkgs/php-ast/INSTALL.msg
Normal file
2
srcpkgs/php-ast/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
To enable the ast extension please add the following to php.ini:
|
||||||
|
extension=ast.so
|
24
srcpkgs/php-ast/template
Normal file
24
srcpkgs/php-ast/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue