system/netatop: Updated for version 0.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-12-03 00:18:28 +07:00
parent 17ce6141d7
commit 0265863e29
2 changed files with 9 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for netatop
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2012-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=netatop
VERSION=${VERSION:-0.3}
VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
@ -89,9 +89,7 @@ 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 \
ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="netatop"
VERSION="0.3"
VERSION="0.4"
HOMEPAGE="http://www.atoptool.nl/"
DOWNLOAD="http://www.atoptool.nl/download/netatop-0.3.tar.gz"
MD5SUM="b8c3785571c1b35ff3c21d49d51283d4"
DOWNLOAD="http://www.atoptool.nl/download/netatop-0.4.tar.gz"
MD5SUM="5f7b7ceccb4d2c9e48f4fa0ed1e6a15e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""