New package: xdebug8.0-3.1.4

This commit is contained in:
Joel Beckmeyer 2022-03-15 14:20:19 -04:00 committed by Echo
parent 2fce14dbcc
commit ce7ff614d2
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1 @@
You should add 'zend_extension="xdebug.so"' to php.ini

View file

@ -0,0 +1,29 @@
# Template file for 'xdebug8.0'
pkgname=xdebug8.0
version=3.1.4
revision=1
wrksrc="xdebug-${version}"
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.0"
hostmakedepends="autoconf"
makedepends="php8.0-devel"
short_desc="PHP debugging extension"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="PHP-3.0"
homepage="http://xdebug.org"
changelog="https://xdebug.org/updates"
distfiles="http://xdebug.org/files/xdebug-${version}.tgz"
checksum=4195926f9f6c4e802ff749bb2ca85ac50636719a72e5389e372e35ef523505f9
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" php8.0-devel"
fi
pre_configure() {
phpize8.0
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}

2
srcpkgs/xdebug8.0/update Normal file
View file

@ -0,0 +1,2 @@
site="https://xdebug.org/updates"
pattern='<dt><a name=.*></a>.*Xdebug \K[\d.]+(?=</dt>)'