void-packages/srcpkgs/jbig2dec/template

29 lines
771 B
Bash

# Template file for 'jbig2dec'
pkgname=jbig2dec
version=0.13
revision=1
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.*
}
}