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