diff options
author | B. Watson <yalhcru@gmail.com> | 2013-06-29 09:50:03 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-29 09:50:03 -0300 |
commit | eca5a9124a6d4c5c291d8d23926d5d477d78d81e (patch) | |
tree | c6ccfbc0cc48686c30407e1efa0b4d7b1fa20a42 /libraries/jbig2dec/jbig2dec.SlackBuild | |
parent | f8263a315f0d47c69e1a7cc70720c6673f87b12b (diff) | |
download | slackbuilds-eca5a9124a6d4c5c291d8d23926d5d477d78d81e.tar.gz |
libraries/jbig2dec: New maintainer + remove static lib.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/jbig2dec/jbig2dec.SlackBuild')
-rw-r--r-- | libraries/jbig2dec/jbig2dec.SlackBuild | 19 |
1 files changed, 11 insertions, 8 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 |