quazip: fix cross compilation

This commit is contained in:
newbluemoon 2017-11-09 23:40:23 +01:00 committed by Toyam Cox
parent 4ac575ea4d
commit 20aecf09d8
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'quazip'
pkgname=quazip
version=0.7.3
revision=1
revision=2
build_style=qmake
hostmakedepends="qt-qmake"
makedepends="qt-devel zlib-devel"
@ -11,7 +11,11 @@ license="LGPL-2.0"
homepage="http://sourceforge.net/projects/quazip/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2ad4f354746e8260d46036cde1496c223ec79765041ea28eb920ced015e269b5
nocross=yes
#nocross=yes
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-devel"
fi
quazip-devel_package() {
depends="quazip>=${version}_${revision}"