# Template file for 'cross-vpkg-dummy'
pkgname=cross-vpkg-dummy
version=0.23
revision=2
build_style=meta
short_desc="Dummy meta-pkg for cross building packages with xbps-src"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public domain"
homepage="http://www.voidlinux.eu"

depends="base-files>=0.126"

case "$XBPS_TARGET_MACHINE" in
	*-musl) depends+=" musl-legacy-compat";;
esac

provides="
	kernel-libc-headers-9999_1
	binutils-9999_1
	libgcc-9999_1
	libstdc++-9999_1
	libstdc++-devel-9999_1
	libgfortran-9999_1
	libgfortran-devel-9999_1
	libgomp-9999_1
	libgomp-devel-9999_1
	gcc-9999_1
	gcc-fortran-9999_1
	glibc-9999_1
	glibc-devel-9999_1
	musl-9999_1"
conflicts="
	kernel-libc-headers>=0
	binutils>=0
	libgcc>=0
	libstdc++>=0
	libstdc++-devel>=0
	libgfortran>=0
	libgfortran-devel>=0
	libgomp>=0
	libgomp-devel>=0
	gcc>=0
	gcc-fortran>=0
	glibc>=0
	glibc-devel>=0
	musl>=0"
shlib_provides="
	libc.so
	libc.so.6
	libm.so.6
	librt.so.1
	libpthread.so.0
	libcrypt.so.1
	libdl.so.2
	libresolv.so.2
	libnsl.so.1
	libutil.so.1
	libgcc_s.so.1
	libstdc++.so.6
	libgfortran.so.3
	libgomp.so.1
	ld-linux.so.2
	ld-linux.so.3
	ld-linux-x86_64.so.2
	ld-linux-armhf.so.3
	ld-linux-aarch64.so.1"
