void-packages/srcpkgs/minizip/template
2015-01-15 11:16:48 +00:00

29 lines
755 B
Text

# Template build file for 'minizip'.
pkgname=minizip
version=1.2.8
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.gz"
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
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"
vmove "usr/lib/*.so"
}
}