minizip: don't include crypt.h

https://github.com/madler/zlib/pull/229
This commit is contained in:
maxice8 2018-11-14 23:50:11 -02:00 committed by maxice8
parent 40f5862ddc
commit 952ac913cf

View file

@ -1,10 +1,10 @@
# Template file for 'minizip'
pkgname=minizip
version=1.2.11
revision=2
build_style=gnu-configure
revision=3
wrksrc="zlib-${version}"
build_wrksrc="contrib/${pkgname}"
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="Zip file manipulation library"
@ -18,6 +18,12 @@ 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}"