summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-06-29 09:50:03 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-29 09:50:03 -0300
commiteca5a9124a6d4c5c291d8d23926d5d477d78d81e (patch)
treec6ccfbc0cc48686c30407e1efa0b4d7b1fa20a42 /libraries
parentf8263a315f0d47c69e1a7cc70720c6673f87b12b (diff)
downloadslackbuilds-eca5a9124a6d4c5c291d8d23926d5d477d78d81e.tar.gz
libraries/jbig2dec: New maintainer + remove static lib.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 640d65094d..e3707ebb34 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 0acab0f598..323445ebfc 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 ee7dd97239..a591dda758 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: