# Template file for 'xdebug8.5'
pkgname=xdebug8.5
version=3.5.1
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.5"
hostmakedepends="autoconf php8.5-devel"
makedepends="php8.5-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=0f26849a5edf3d9120edc100219854599d54f923a8a4d1cb4fe4403520e49678

pre_configure() {
	phpize8.5
}

do_install() {
	make INSTALL_ROOT=${DESTDIR} install
	vlicense LICENSE
	vdoc "${FILESDIR}/README.voidlinux"
}
