void-packages/srcpkgs/jbig2dec/template
Helmut Pozimski b2f6fbd9dd jbig2dec: add patches for multiple CVEs
fixes CVE-2017-7885, CVE-2017-7975 and CVE-2017-7976.
Patches taken from the upstream ghostpdl git repository,
http://git.ghostscript.com/?p=ghostpdl.git
git revisions
b184e783702246e154294326d03d9abda669fcfa
ed6c5133a1004ce8d38f1b44de85a7186feda95e
5e57e483298dae8b8d4ec9aab37a526736ac2e97 and
73060a27e554f8e64ae2aba4a1b03822207346c7
2017-05-28 16:55:45 +02:00

28 lines
771 B
Bash

# Template file for 'jbig2dec'
pkgname=jbig2dec
version=0.13
revision=2
build_style=gnu-configure
makedepends="libpng-devel"
short_desc="Decoder implementation of the JBIG2 image compression format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="AGPL-3"
homepage="http://www.ghostscript.com/jbig2dec.html"
distfiles="http://downloads.ghostscript.com/public/jbig2dec/jbig2dec-${version}.tar.gz"
checksum=5aaca0070992cc2e971e3bb2338ee749495613dcecab4c868fc547b4148f5311
jbig2dec-devel_package() {
short_desc+=" - development files"
depends="libjbig2dec>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}
libjbig2dec_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}