TSC: host and target wordsize must be same for cross

This commit is contained in:
Jürgen Buchmüller 2020-09-25 19:35:32 +02:00
parent 656260ed09
commit a5f75f312f
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ distfiles="https://ftp.secretchronicles.org/releases/${pkgname}-${version}.tar.g
checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261
replaces="TSC-data"
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="The host ($XBPS_WORDSIZE) and target ($XBPS_TARGET_WORDSIZE) word sizes need to be the same for cross building."
fi
post_install() {
vinstall extras/tsc.desktop 644 usr/share/applications
}