void-packages/srcpkgs/jbig2dec/template

34 lines
829 B
Bash
Raw Normal View History

2013-11-17 19:33:11 +00:00
# Template file for 'jbig2dec'
pkgname=jbig2dec
version=0.11
revision=2
2013-11-17 19:33:11 +00:00
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libpng-devel"
short_desc="Decoder implementation of the JBIG2 image compression format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-11-17 19:33:11 +00:00
license="GPL-3"
homepage="http://jbig2dec.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=7e2d8330b36f2765da22043d174827bee0f30db8d78c330904f363275c7dd0b9
pre_configure() {
autoreconf -fi
}
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.*"
}
}