void-packages/srcpkgs/minizip/template

33 lines
831 B
Text
Raw Normal View History

2013-04-21 17:43:06 +00:00
# Template build file for 'minizip'.
pkgname=minizip
2014-04-10 19:19:10 +00:00
version=1.2.8
2013-04-21 17:43:06 +00:00
revision=1
build_style=gnu-configure
2014-04-10 19:19:10 +00:00
wrksrc="zlib-${version}/contrib/${pkgname}"
2013-04-21 17:43:06 +00:00
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"
2014-11-30 07:30:40 +00:00
update_pkgname="zlib"
update_ignore="*dll*"
update_version="${version//./}"
2014-04-10 19:19:10 +00:00
distfiles="http://www.zlib.net/zlib-$version.tar.gz"
checksum=36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d
2013-04-21 17:43:06 +00:00
pre_configure() {
autoreconf -i
}
minizip-devel_package() {
short_desc+=" - development files"
2013-04-21 17:43:06 +00:00
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-04-10 19:19:10 +00:00
vmove "usr/lib/*.so"
2013-04-21 17:43:06 +00:00
}
}