void-packages/srcpkgs/minizip/template
2017-01-02 10:56:27 +00:00

29 lines
755 B
Bash

# Template build file for 'minizip'.
pkgname=minizip
version=1.2.9
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=73ab302ef31ed1e74895d2af56f52f5853f26b0370f3ef21954347acec5eaa21
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"
}
}