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' # Template file for 'minizip'
pkgname=minizip pkgname=minizip
version=1.2.11 version=1.2.11
revision=2 revision=3
build_style=gnu-configure
wrksrc="zlib-${version}" wrksrc="zlib-${version}"
build_wrksrc="contrib/${pkgname}" build_wrksrc="contrib/${pkgname}"
build_style=gnu-configure
hostmakedepends="automake libtool" hostmakedepends="automake libtool"
makedepends="zlib-devel" makedepends="zlib-devel"
short_desc="Zip file manipulation library" short_desc="Zip file manipulation library"
@ -18,6 +18,12 @@ pre_configure() {
autoreconf -i autoreconf -i
} }
post_install() {
# https://github.com/madler/zlib/pull/229
rm ${DESTDIR}/usr/include/minizip/crypt.h
}
minizip-devel_package() { minizip-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"