diff --git a/srcpkgs/xdebug8.0/INSTALL.msg b/srcpkgs/xdebug8.0/INSTALL.msg new file mode 100644 index 0000000000..04e3343216 --- /dev/null +++ b/srcpkgs/xdebug8.0/INSTALL.msg @@ -0,0 +1 @@ +You should add 'zend_extension="xdebug.so"' to php.ini diff --git a/srcpkgs/xdebug8.0/template b/srcpkgs/xdebug8.0/template new file mode 100644 index 0000000000..159f30cd52 --- /dev/null +++ b/srcpkgs/xdebug8.0/template @@ -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 " +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 +} diff --git a/srcpkgs/xdebug8.0/update b/srcpkgs/xdebug8.0/update new file mode 100644 index 0000000000..280b0bc7e3 --- /dev/null +++ b/srcpkgs/xdebug8.0/update @@ -0,0 +1,2 @@ +site="https://xdebug.org/updates" +pattern='
.*Xdebug \K[\d.]+(?=
)'