summaryrefslogtreecommitdiff
path: root/libraries/jbig2dec
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-24 14:27:01 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:08:58 +0700
commitdb68c1546092f287f0c807a1e47949a751de7f34 (patch)
treeaaca04a02798d6827499b5d43613ab90684eccd3 /libraries/jbig2dec
parentf424913d21219b4640de8d30ad27f5ccb7cd73c9 (diff)
downloadslackbuilds-db68c1546092f287f0c807a1e47949a751de7f34.tar.gz
libraries/jbig2dec: Remove .la file.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/jbig2dec')
-rw-r--r--libraries/jbig2dec/README11
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild11
2 files changed, 11 insertions, 11 deletions
diff --git a/libraries/jbig2dec/README b/libraries/jbig2dec/README
index 214a0f08f4..f00bd01f83 100644
--- a/libraries/jbig2dec/README
+++ b/libraries/jbig2dec/README
@@ -1,6 +1,9 @@
-jbig2dec is a decoder implementation of the JBIG2 image compression format.
+jbig2dec (a JBIG2 decoder)
+
+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.
+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.
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index cf7b9af8fe..e5ad06387e 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -10,6 +10,7 @@
# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20211124 bkw: BUILD=2, remove .la file
# 20201103 bkw: update for v0.19
# 20200314 bkw: update for v0.18
# 20191208 bkw: update for v0.17
@@ -43,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jbig2dec
VERSION=${VERSION:-0.19}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -55,9 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -113,9 +111,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man1/*
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README LICENSE COPYING CHANGES $PKG/usr/doc/$PRGNAM-$VERSION