diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2016-09-13 06:24:49 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-14 19:07:16 +0700 |
commit | dbe1b7e25f926d4be7167bab42afe6eddec7fb13 (patch) | |
tree | fcd67f85180816d8c3a2ebbc820dc664275b124b /system/ptop/ptop.SlackBuild | |
parent | 23e700523fd207deb90eebe4710807544e70b1f1 (diff) | |
download | slackbuilds-dbe1b7e25f926d4be7167bab42afe6eddec7fb13.tar.gz |
system/ptop: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system/ptop/ptop.SlackBuild')
-rw-r--r-- | system/ptop/ptop.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/ptop/ptop.SlackBuild b/system/ptop/ptop.SlackBuild index fa37df62de..ee53525ac4 100644 --- a/system/ptop/ptop.SlackBuild +++ b/system/ptop/ptop.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ptop -# Copyright 2015 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ptop -VERSION=${VERSION:-0.0.6} +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} 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" @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |