36 lines
859 B
Bash
36 lines
859 B
Bash
# Template file for 'minizip'
|
|
pkgname=minizip
|
|
version=1.2.11
|
|
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"
|
|
maintainer="ojab <ojab@ojab.ru>"
|
|
license="Zlib"
|
|
homepage="http://www.winimage.com/zLibDll/minizip.html"
|
|
distfiles="http://www.zlib.net/zlib-${version}.tar.gz"
|
|
checksum=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
|
|
|
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"
|
|
}
|
|
}
|