diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2018-03-06 02:02:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-06 02:02:32 +0700 |
commit | cda24f77429c3fabd84c53c264640edec03cf334 (patch) | |
tree | 1f6d1deae46b3e1301f0f531509783ce659a58e1 /libraries/libeot/libeot.SlackBuild | |
parent | d762986a2cf05ac19f5e51a9620a4056242716d7 (diff) | |
download | slackbuilds-cda24f77429c3fabd84c53c264640edec03cf334.tar.gz |
libraries/libeot: Minor cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libeot/libeot.SlackBuild')
-rw-r--r-- | libraries/libeot/libeot.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/libeot/libeot.SlackBuild b/libraries/libeot/libeot.SlackBuild index 15fed26b7a..931651a657 100644 --- a/libraries/libeot/libeot.SlackBuild +++ b/libraries/libeot/libeot.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libeot -# Copyright 2015 Hunter Sezen California, USA +# Copyright 2015, 2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ PRGNAM=libeot VERSION=${VERSION:-0.01} -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 @@ -40,8 +40,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" @@ -54,13 +54,13 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |