35 lines
827 B
Plaintext
35 lines
827 B
Plaintext
# Template file for 'jbig2dec'
|
|
pkgname=jbig2dec
|
|
version=0.11
|
|
revision=1
|
|
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@gmail.com>"
|
|
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.*"
|
|
}
|
|
}
|