void-packages/srcpkgs/jbig2dec/template
2018-09-05 23:41:58 -03:00

35 lines
878 B
Bash

# Template file for 'jbig2dec'
pkgname=jbig2dec
version=0.15
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="libpng-devel"
short_desc="Decoder implementation of the JBIG2 image compression format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="AGPL-3.0-or-later"
homepage="http://www.ghostscript.com/jbig2dec.html"
distfiles="https://github.com/ArtifexSoftware/jbig2dec/archive/${version}.tar.gz"
checksum=1bae90922610244334f3d93d7d4f76ba31d8618e2f62c203e8b8e5de7023e4e3
pre_configure() {
sed -i '$ d' autogen.sh
./autogen.sh
}
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.*"
}
}