void-packages/srcpkgs/quazip/template

30 lines
726 B
Bash
Raw Normal View History

2015-01-23 18:23:11 +01:00
# Template file for 'quazip'
pkgname=quazip
version=0.7.1
revision=1
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=78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de
do_configure() {
qmake PREFIX=/usr
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
}
quazip-devel_package() {
depends="quazip>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}