void-packages/srcpkgs/zziplib/template
Helmut Pozimski 4e76995571 zziplib: add patches to fix multiple CVEs
fixes for CVE-2017-5974, CVE-2017-5975, CVE-2017-5976, CVE-2017-5978,
CVE-2017-5979, CVE-2017-5980 and CVE-2017-5981. Patches from SuSe via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854727#35
2017-06-14 21:37:13 +02:00

29 lines
783 B
Bash

# Template file for 'zziplib'
pkgname=zziplib
version=0.13.62
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python"
makedepends="zlib-devel"
short_desc="A lightweight library to extract data from zip files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://zziplib.sourceforge.net"
license="LGPL-2.1, MPL-1.1"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b
pre_configure() {
autoreconf -fi
}
zziplib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}