void-packages/srcpkgs/minizip/template
2013-04-23 20:14:56 +04:00

34 lines
799 B
Text

# 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"
}
}