Commits

Audrius Kažukauskas committed e0ec998

system/iotop: Update for version 0.5.

Comments (0)

Files changed (2)

system/iotop/iotop.SlackBuild

 
 # Slackware build script for iotop
 
-# Copyright 2012 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2012-2013 Audrius Kažukauskas <audrius@neutrino.lt>
 # All rights reserved.
 #
 # Redistribution and use of this script, with or without modification, is
 #  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=iotop
-VERSION=${VERSION:-0.4.4}
+VERSION=${VERSION:-0.5}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
-sed -i 's|share/man/man1|man/man1|' setup.py
+sed -i 's|share/man/man8|man/man8|' setup.py
 
 python setup.py install --root=$PKG
 
+# iotop script is placed in sbin directory inside source tarball, also in NEWS
+# there's a note that it should be installed to sbin, but setup.py doesn't do
+# this, so we'll fix it ourselves.
+mkdir $PKG/usr/sbin
+mv $PKG/usr/bin/* $PKG/usr/sbin
+rmdir $PKG/usr/bin
+
 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
 

system/iotop/iotop.info

 PRGNAM="iotop"
-VERSION="0.4.4"
+VERSION="0.5"
 HOMEPAGE="http://guichaz.free.fr/iotop/"
-DOWNLOAD="http://guichaz.free.fr/iotop/files/iotop-0.4.4.tar.bz2"
-MD5SUM="cdd38b276cbf238676f5d2bcf098ba9c"
+DOWNLOAD="http://guichaz.free.fr/iotop/files/iotop-0.5.tar.bz2"
+MD5SUM="b0846ad976f41bca2813f7f8a73fef31"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.