shake: fix architecture matching

This commit is contained in:
Michael Gehring 2018-07-22 17:29:51 +02:00 committed by maxice8
parent 698e8449b1
commit 2e04dc34d9

View file

@ -11,9 +11,12 @@ license="GPL-3"
homepage="http://vleu.net/shake/"
distfiles="https://github.com/unbrice/$pkgname/archive/v$version.tar.gz"
checksum=ac5a57bd8d55e197734852bf66318ecf39b4c5c298e43a259ba1d8a4b7a2ced3
if [ "$XBPS_TARGET_MACHINE" = *-musl ]; then
case "$XBPS_TARGET_MACHINE" in
*-musl)
broken="musl does not provide error.h required by this package"
fi
;;
esac
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" shake"