78 lines
1.8 KiB
Bash
78 lines
1.8 KiB
Bash
# Template file for 'cross-vpkg-dummy'
|
|
pkgname=cross-vpkg-dummy
|
|
version=0.38
|
|
revision=1
|
|
build_style=meta
|
|
short_desc="Dummy meta-pkg for cross building packages with xbps-src"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Public Domain"
|
|
homepage="https://www.voidlinux.org/"
|
|
|
|
depends="base-files>=0.126"
|
|
|
|
provides="
|
|
kernel-libc-headers-9999_1
|
|
binutils-9999_1
|
|
libada-9999_1
|
|
libada-devel-9999_1
|
|
libgcc-9999_1
|
|
libgcc-devel-9999_1
|
|
libstdc++-9999_1
|
|
libstdc++-devel-9999_1
|
|
libgfortran-9999_1
|
|
libgfortran-devel-9999_1
|
|
libgo-9999_1
|
|
libgo-devel-9999_1
|
|
libobjc-9999_1
|
|
libobjc-devel-9999_1
|
|
gcc-9999_1
|
|
gcc-fortran-9999_1
|
|
gcc-ada-9999_1
|
|
gcc-go-9999_1
|
|
gcc-objc-9999_1
|
|
gcc-objc++-9999_1"
|
|
conflicts="
|
|
kernel-libc-headers>=0
|
|
binutils>=0
|
|
libada>=0
|
|
libada-devel>=0
|
|
libgcc>=0
|
|
libgcc-devel>=0
|
|
libstdc++>=0
|
|
libstdc++-devel>=0
|
|
libgfortran>=0
|
|
libgfortran-devel>=0
|
|
libgo>=0
|
|
libgo-devel>=0
|
|
libobjc>=0
|
|
libobjc-devel>=0
|
|
gcc>=0
|
|
gcc-fortran>=0
|
|
gcc-ada>=0
|
|
gcc-go>=0
|
|
gcc-objc>=0
|
|
gcc-objc++>=0"
|
|
shlib_provides="
|
|
libgcc_s.so.1
|
|
libgnat-10.so
|
|
libgnarl-10.so
|
|
libstdc++.so.6
|
|
libgfortran.so.5"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
provides+=" musl-9999_1 musl-devel-9999_1"
|
|
# bundled in musl crosstoolchains but not glibc
|
|
provides+=" libssp-9999_1 libssp-devel-9999_1"
|
|
shlib_provides+=" libssp.so.0"
|
|
conflicts+=" musl>=0"
|
|
shlib_provides+=" libc.so"
|
|
else
|
|
provides+=" glibc-9999_1 glibc-devel-9999_1"
|
|
conflicts+=" glibc>=0"
|
|
shlib_provides+=" libc.so.6 libm.so.6 librt.so.1 libpthread.so.0"
|
|
shlib_provides+=" libcrypt.so.1 libdl.so.2 libresolv.so.2"
|
|
shlib_provides+=" libanl.so.1 libnsl.so.1 libutil.so.1"
|
|
shlib_provides+=" ld-linux.so.2 ld-linux.so.3 ld-linux-x86-64.so.2"
|
|
shlib_provides+=" ld-linux-armhf.so.3 ld-linux-aarch64.so.1"
|
|
shlib_provides+=" ld64.so.2 ld.so.1"
|
|
fi
|