void-packages/srcpkgs/jbig2dec/template

29 lines
771 B
Bash

# Template file for 'jbig2dec'
pkgname=jbig2dec
version=0.14
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=21b498c3ba566f283d02946f7e78e12abbad89f12fe4958974e50882c185014c
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.*
}
}