vp-build/srcpkgs/xdebug8.1/template

30 lines
715 B
Bash
Raw Normal View History

2022-03-15 20:31:58 +01:00
# Template file for 'xdebug8.1'
pkgname=xdebug8.1
version=3.1.4
revision=1
wrksrc="xdebug-${version}"
build_style=gnu-configure
configure_args="--with-php-config=/usr/bin/php-config8.1"
hostmakedepends="autoconf"
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=4195926f9f6c4e802ff749bb2ca85ac50636719a72e5389e372e35ef523505f9
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" php8.1-devel"
fi
pre_configure() {
phpize8.1
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}