diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-21 07:41:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-21 07:41:18 +0700 |
commit | c5e7a3f4f91f581f12ea53950d2b60f872249ec5 (patch) | |
tree | 0bc4640b8c2a927be9304c4d35ed7ca6c8cc3bf2 | |
parent | 3684aacf131c64d96a5d50ec4582b8b087355d88 (diff) | |
download | slackbuilds-c5e7a3f4f91f581f12ea53950d2b60f872249ec5.tar.gz |
libraries/jbigkit: Include libjbig85.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/jbigkit/jbigkit.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild index 9b76643d99..c1c8cccc6c 100644 --- a/libraries/jbigkit/jbigkit.SlackBuild +++ b/libraries/jbigkit/jbigkit.SlackBuild @@ -5,12 +5,12 @@ PRGNAM=jbigkit VERSION=${VERSION:-2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -21,8 +21,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -40,7 +40,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -74,7 +74,7 @@ cp -a pbmtools/{jbgtopbm,pbmtojbg,jbgtopbm85,pbmtojbg85} $PKG/usr/bin cp -a pbmtools/*.1 $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.1 cp -a libjbig/jbig.h libjbig/jbig85.h libjbig/jbig_ar.h $PKG/usr/include -cp -a libjbig/libjbig.* $PKG/usr/lib$LIBDIRSUFFIX +cp -a libjbig/libjbig.* libjbig/libjbig85.a $PKG/usr/lib$LIBDIRSUFFIX cp -a ANNOUNCE CHANGES INSTALL COPYING TODO libjbig/*.txt examples \ $PKG/usr/doc/$PRGNAM-$VERSION |