aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbig2enc/jbig2enc.SlackBuild
diff options
context:
space:
mode:
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 2ca4e2ecd3580..eed23afbefa2b 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