void-packages/srcpkgs/quazip/template
2017-11-16 15:18:47 -05:00

27 lines
727 B
Bash

# Template file for 'quazip'
pkgname=quazip
version=0.7.3
revision=2
build_style=qmake
hostmakedepends="qt-qmake"
makedepends="qt-devel zlib-devel"
short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
maintainer="Duncan Overbruck <mail@duncano.de>"
license="LGPL-2.0"
homepage="http://sourceforge.net/projects/quazip/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2ad4f354746e8260d46036cde1496c223ec79765041ea28eb920ced015e269b5
#nocross=yes
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-devel"
fi
quazip-devel_package() {
depends="quazip>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}