aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2010-07-22 18:22:41 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit41af5a30879262295b720683e56ca94e5909f2fd (patch)
tree0622f964c751f56ed3f4e131e4e45da2237b02fa
parent2221fe33c92916f9265aa5fada94e43b6c8ed011 (diff)
system/iotop: Updated for version 0.4.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--system/iotop/iotop.SlackBuild15
-rw-r--r--system/iotop/iotop.info6
2 files changed, 8 insertions, 13 deletions
diff --git a/system/iotop/iotop.SlackBuild b/system/iotop/iotop.SlackBuild
index 64eaa636dd16..2d3a42a7028b 100644
--- a/system/iotop/iotop.SlackBuild
+++ b/system/iotop/iotop.SlackBuild
@@ -4,16 +4,14 @@
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
PRGNAM=iotop
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -38,15 +36,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+sed -i 's|share/man/man1|man/man1|' setup.py
-mv $PKG/usr/share/man $PKG/usr
-rm -rf $PKG/usr/share
+python setup.py install --root=$PKG
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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 COPYING NEWS THANKS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/iotop/iotop.info b/system/iotop/iotop.info
index e2e7a5ec194a..f3db042cc698 100644
--- a/system/iotop/iotop.info
+++ b/system/iotop/iotop.info
@@ -1,8 +1,8 @@
PRGNAM="iotop"
-VERSION="0.4"
+VERSION="0.4.1"
HOMEPAGE="http://guichaz.free.fr/iotop/"
-DOWNLOAD="http://guichaz.free.fr/iotop/files/iotop-0.4.tar.bz2"
-MD5SUM="3607f8b77ed6686efd9a4a7e6c135ceb"
+DOWNLOAD="http://guichaz.free.fr/iotop/files/iotop-0.4.1.tar.bz2"
+MD5SUM="36c412f201c933eabae64ce0556a56c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Audrius Kažukauskas"