void-packages/srcpkgs/xdebug/template
Jürgen Buchmüller 8c3d683737 xdebug: fix cross
2020-12-28 23:47:50 +01:00

26 lines
584 B
Bash

# Template file for 'xdebug'
pkgname=xdebug
version=2.9.3
revision=1
build_style=gnu-configure
hostmakedepends="autoconf"
makedepends="php-devel"
short_desc="PHP debugging extension"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="PHP-3.0"
homepage="http://xdebug.org"
distfiles="http://xdebug.org/files/${pkgname}-${version,,}.tgz"
checksum=a63f567f2238d75a2244c2a4bd6f5abee817280b3567f9006c99481488dc977c
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" php-devel"
fi
pre_configure() {
phpize
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}