# Template file for 'minizip' pkgname=minizip version=1.2.12 revision=1 wrksrc="zlib-${version}" build_wrksrc="contrib/${pkgname}" build_style=gnu-configure hostmakedepends="automake libtool" makedepends="zlib-devel" short_desc="Zip file manipulation library" maintainer="ojab " license="Zlib" homepage="http://www.winimage.com/zLibDll/minizip.html" distfiles="http://www.zlib.net/zlib-${version}.tar.gz" checksum=91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9 pre_configure() { autoreconf -i } post_install() { # https://github.com/madler/zlib/pull/229 rm ${DESTDIR}/usr/include/minizip/crypt.h } 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" } }