34 lines
849 B
Bash
34 lines
849 B
Bash
# Template file for 'jbig2dec'
|
|
pkgname=jbig2dec
|
|
version=0.14
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="libpng-devel automake libtool"
|
|
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="https://github.com/ArtifexSoftware/jbig2dec/archive/${version}.tar.gz"
|
|
checksum=cf8368d8d5b63f2e4a993b49b95656e0090f1f419d4c2f0841a0cde75c9f34b0
|
|
|
|
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.*"
|
|
}
|
|
}
|