boswars: fix all cross targets

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-07-31 16:31:22 +02:00
parent fb88fc0c78
commit 5ff2e54d38
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647

View File

@ -4,7 +4,7 @@ version=2.7
revision=5
wrksrc="${pkgname}-${version}-src"
hostmakedepends="pkg-config libpng-progs python"
makedepends="SDL-devel libpng-devel libtheora-devel libvorbis-devel lua51-devel"
makedepends="SDL-devel glu-devel libpng-devel libtheora-devel libvorbis-devel lua51-devel"
depends="${pkgname}-data"
short_desc="A futuristic real-time strategy game (RTS)"
maintainer="Diogo Leal <diogo@diogoleal.com>"
@ -13,10 +13,6 @@ homepage="http://boswars.org"
distfiles="${homepage}/dist/releases/boswars-${version}-src.tar.gz"
checksum=dc3718f531e9ea413cf37e1333b62a4c5e69f1405502d9c59b9e424635135e3e
case "$XBPS_TARGET_MACHINE" in
arm*) makedepends+=" glu-devel" ;;
esac
post_extract() {
#png bugfix for version 2.7, https://savannah.nongnu.org/bugs/?39610