summaryrefslogtreecommitdiff
path: root/libraries/jbig2enc/jbig2enc.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-12 15:12:37 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-14 01:14:26 +0100
commitddff5191f4ed352392ebd67b0bbdf43e7020c5ac (patch)
treebaf3a3a1257f03b63b5c81736390c2a3a785b579 /libraries/jbig2enc/jbig2enc.SlackBuild
parent100f515545f4f40c94e50eb754422a66c58df06f (diff)
downloadslackbuilds-ddff5191f4ed352392ebd67b0bbdf43e7020c5ac.tar.gz
libraries/jbig2enc: Updated for version 0.29.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/jbig2enc/jbig2enc.SlackBuild')
-rw-r--r--libraries/jbig2enc/jbig2enc.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/libraries/jbig2enc/jbig2enc.SlackBuild b/libraries/jbig2enc/jbig2enc.SlackBuild
index 2ca4e2ecd3..eed23afbef 100644
--- a/libraries/jbig2enc/jbig2enc.SlackBuild
+++ b/libraries/jbig2enc/jbig2enc.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=jbig2enc
-VERSION=${VERSION:-0.28}
+VERSION=${VERSION:-0.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +40,10 @@ fi
set -e
-TARNAM=$PRGNAM-$VERSION-dist
+# used to be, for 0.28-dist:
+#TARNAM=$PRGNAM-$VERSION-dist
+
+TARNAM=$PRGNAM-$VERSION
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -55,12 +58,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# taken from upstream git, fix compile with leptonica >= 1.70 (we
-# have 1.73). commit here:
-# https://github.com/agl/jbig2enc/commit/53ce5fe7e73d7ed95c9e12b52dd4984723f865fa
-patch -p1 < $CWD/leptonica_api_fix.diff
-
-# have to do this, configure.ac was patched above.
autoreconf -if
CFLAGS="$SLKCFLAGS" \
@@ -88,7 +85,8 @@ for i in $MANPAGES; do
gzip -9c < $CWD/$i.1 > $PKG/usr/man/man1/$i.1.gz
done
-# docs already installed.
+# docs already installed, except this one:
+cp -a fcd14492.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install