void-packages/srcpkgs/minizip/template

29 lines
731 B
Plaintext

# Template build file for 'minizip'.
pkgname=minizip
version=1.2.7
revision=1
build_style=gnu-configure
wrksrc=zlib-${version}/contrib/${pkgname}
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="A C library for parsing configuration files"
maintainer="ojab <ojab@ojab.ru>"
license="zlib"
homepage="http://www.winimage.com/zLibDll/minizip.html"
distfiles="http://www.zlib.net/zlib-$version.tar.bz2"
checksum=49e2e9658dfb036900da6ea0267a737fa3c4eee6666776d378c79d52e9334934
pre_configure() {
autoreconf -i
}
minizip-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}