summaryrefslogtreecommitdiffstats
path: root/libraries/jbig2dec/jbig2dec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbig2dec/jbig2dec.SlackBuild')
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild11
1 files changed, 4 insertions, 7 deletions
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