void-packages/srcpkgs/zziplib/template

30 lines
780 B
Bash

# Template file for 'zziplib'
pkgname=zziplib
version=0.13.62
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool 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
pre_configure() {
autoreconf -fi
}
zziplib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}