void-packages/srcpkgs/xdebug8.1/template

26 lines
672 B
Bash

# Template file for 'xdebug8.1'
pkgname=xdebug8.1
version=3.2.2
revision=1
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="autoconf php8.1-devel"
makedepends="php8.1-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=f48777371f90cbb315ea4ea082a1ede6765bcfb35d7d6356ab8f71fd6dfcc157
pre_configure() {
phpize8.1
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}