void-packages/srcpkgs/zziplib/template

38 lines
855 B
Text
Raw Normal View History

2013-05-06 19:07:08 +00:00
# Template file for 'zziplib'
pkgname=zziplib
version=0.13.62
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python"
makedepends="zlib-devel"
short_desc="A lightweight library to extract data from zip files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://zziplib.sourceforge.net"
license="LGPL-2.1, MPL-1.1"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool"
pre_configure() {
autoreconf -fi
}
fi
zziplib-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/share
}
}
zziplib_package() {
pkg_install() {
vmove usr
}
}