void-packages/srcpkgs/minizip/template

35 lines
799 B
Text
Raw Normal View History

2013-04-21 17:43:06 +00:00
# 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_package() {
pkg_install() {
vmove all
}
}
minizip-devel_package() {
short_desc="${short_desc} -- development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}