mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
73 lines
1.7 KiB
Bash
73 lines
1.7 KiB
Bash
SUMMARY="A decoder implementation of the JBIG2 image format"
|
|
DESCRIPTION="
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format. \
|
|
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit \
|
|
monochrome) images at moderately high resolution, and in particular scanned \
|
|
paper documents. In this domain it is very efficient, offering compression \
|
|
ratios on the order of 100:1."
|
|
HOMEPAGE="http://www.ghostscript.com/jbig2dec.html"
|
|
COPYRIGHT="2001-2009 Artifex Software, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.ghostscript.com/public/jbig2dec/jbig2dec-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="21b498c3ba566f283d02946f7e78e12abbad89f12fe4958974e50882c185014c"
|
|
PATCHES="jbig2dec-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
jbig2dec$secondaryArchSuffix = $portVersion
|
|
cmd:jbig2dec$secondaryArchSuffix = $portVersion
|
|
lib:libjbig2dec$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
jbig2dec${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libjbig2dec$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
jbig2dec$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:m4
|
|
cmd:ar$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
automake --add-missing
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libjbig2dec.la
|
|
|
|
prepareInstalledDevelLibs libjbig2dec
|
|
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|