grantlee5: fix cross

This commit is contained in:
Juergen Buchmueller 2016-11-09 16:25:15 +01:00
parent 48c88c030a
commit e1b6eefe20

View File

@ -4,7 +4,7 @@ version=5.1.0
revision=1
wrksrc=${pkgname%5}-${version}
build_style=cmake
makedepends="qt5-devel qt5-script-devel qt5-tools-devel"
makedepends="qt5-script-devel qt5-tools-devel"
short_desc="Qt5 string template engine based on the Django template system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
@ -12,6 +12,10 @@ homepage="https://github.com/steveire/grantlee"
distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=3836572fe5e49d28a1d99186c6d96f88ff839644b4bc77b73b6d8208f6ccc9d1
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi
grantlee5-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"