aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbig2dec
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbig2dec')
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild19
-rw-r--r--libraries/jbig2dec/jbig2dec.info4
-rw-r--r--libraries/jbig2dec/slack-desc17
3 files changed, 25 insertions, 15 deletions
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index 640d65094d495..e3707ebb34692 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -4,9 +4,15 @@
# Written by Hubert Hesse (slackbuilds@hubertscorner.de)
+# Modified 20130620 by B. Watson:
+# - Took over maintenance
+# - Got rid of static library
+# - Use 'make install-strip'
+# - Added 'how to edit' stuff to slack-desc
+
PRGNAM=jbig2dec
VERSION=${VERSION:-0.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,21 +66,18 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-shared \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README LICENSE COPYING CHANGES\
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE COPYING CHANGES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/jbig2dec/jbig2dec.info b/libraries/jbig2dec/jbig2dec.info
index 0acab0f598aba..323445ebfca32 100644
--- a/libraries/jbig2dec/jbig2dec.info
+++ b/libraries/jbig2dec/jbig2dec.info
@@ -6,5 +6,5 @@ MD5SUM="1f61e144852c86563fee6e5ddced63f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hubert Hesse"
-EMAIL="slackbuilds@hubertscorner.de"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/libraries/jbig2dec/slack-desc b/libraries/jbig2dec/slack-desc
index ee7dd9723981f..a591dda758791 100644
--- a/libraries/jbig2dec/slack-desc
+++ b/libraries/jbig2dec/slack-desc
@@ -1,12 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
|-----handy-ruler------------------------------------------------------|
jbig2dec: jbig2dec (a JBIG2 decoder)
jbig2dec:
jbig2dec: jbig2dec is a decoder implementation of the JBIG2 image compression
-jbig2dec: format. JBIG2 is designed for lossy or lossless encoding of
-jbig2dec: 'bilevel' (1-bitmonochrome) images at moderately high resolution,
-jbig2dec: and in particular scanned paper documents. In this domain it is
-jbig2dec: very efficient, offering compression ratios on the order of 100:1.
+jbig2dec: format.
jbig2dec:
-jbig2dec: Homepage: http://jbig2dec.sourceforge.net/
+jbig2dec: JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
+jbig2dec: monochrome) images at moderately high resolution, and in particular
+jbig2dec: scanned paper documents. In this domain it is very efficient, offering
+jbig2dec: compression ratios on the order of 100:1.
jbig2dec:
jbig2dec: