void-packages/srcpkgs/xdebug8.0/template

30 lines
715 B
Bash

# Template file for 'xdebug8.0'
pkgname=xdebug8.0
version=3.1.5
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=55f6ef381245da079b2fc5ce1cfbcb7961197d0c0e04f9d977613cf9aa969a79
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" php8.0-devel"
fi
pre_configure() {
phpize8.0
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}