summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/jbigkit/jbigkit.SlackBuild23
-rw-r--r--development/jbigkit/jbigkit.info8
2 files changed, 16 insertions, 15 deletions
diff --git a/development/jbigkit/jbigkit.SlackBuild b/development/jbigkit/jbigkit.SlackBuild
index 348cd58790..d86a47b62e 100644
--- a/development/jbigkit/jbigkit.SlackBuild
+++ b/development/jbigkit/jbigkit.SlackBuild
@@ -4,7 +4,7 @@
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=jbigkit
-VERSION=1.6
+VERSION=2.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,26 +43,27 @@ cd -
# ... and all the rest
make CCFLAGS="$SLKCFLAGS"
-# Test the compiled tools - this is optional
-# LD_LIBRARY_PATH=$CWD/libjbig make test
-
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
# There is no "install" target in the Makefile...
-mkdir -p $PKG/usr/{bin,lib,include,man/man1,doc/$PRGNAM-$VERSION}
+mkdir -p $PKG/usr/{bin,lib,include,man/man1,man/man5,doc/$PRGNAM-$VERSION}
-cp -a pbmtools/{jbgtopbm,pbmtojbg} $PKG/usr/bin
+cp -a pbmtools/{jbgtopbm,pbmtojbg,jbgtopbm85,pbmtojbg85} $PKG/usr/bin
cp -a pbmtools/*.1 $PKG/usr/man/man1
+cp -a pbmtools/*.5 $PKG/usr/man/man5
gzip -9 $PKG/usr/man/man1/*.1
-cp -a libjbig/jbig.h $PKG/usr/include
+gzip -9 $PKG/usr/man/man5/*.5
+cp -a libjbig/jbig.h libjbig/jbig85.h libjbig/jbig_ar.h $PKG/usr/include
cp -a libjbig/libjbig.* $PKG/usr/lib
-cp -a ANNOUNCE CHANGES INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a libjbig/jbig.doc $PKG/usr/doc/$PRGNAM-$VERSION/jbig.txt
+cp -a ANNOUNCE CHANGES INSTALL COPYING TODO libjbig/*.txt examples \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/jbigkit/jbigkit.info b/development/jbigkit/jbigkit.info
index 376a5b164d..1642ccd540 100644
--- a/development/jbigkit/jbigkit.info
+++ b/development/jbigkit/jbigkit.info
@@ -1,8 +1,8 @@
PRGNAM="jbigkit"
-VERSION="1.6"
+VERSION="2.0"
HOMEPAGE="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
-DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-1.6.tar.gz"
-MD5SUM="ce196e45f293d40ba76af3dc981ccfd7"
+DOWNLOAD="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz"
+MD5SUM="3dd87f605abb1a97a22dc79d8b3e8f6c"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
-APPROVED="rworkman"
+APPROVED="dsomero"