# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup ArtifexSoftware ghostpdl-downloads 927 gs
description A decoder implementation of the JBIG2 image \
long_description JBIG2 is designed for lossy or lossless encoding \
of 'bilevel' (1-bit monochrome) images at \
moderately high resolution, and in particular \
scanned paper documents. In this domain it can be \
very efficient, offering compression ratios on the \
order of 100:1. This is a decoder only \
implementation, and its primary use is in \
Ghostscript and MuPDF for decoding JBIG2 streams \
in PDF files. Thus its primary focus is the set of \
JBIG2 features supported in PDF.
homepage https://www.jbig2dec.com/
github.tarball_from releases
distname ${name}-${version}
checksums rmd160 6e494531b7a43f0bd6ef700d6d7ead1d1860865d \
sha256 a4f6bf15d217e7816aa61b92971597c801e81f0a63f9fe1daee60fb88e0f0602 \
depends_build port:autoconf
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} \
livecheck.url ${homepage}
livecheck.version ${version}
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}