SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "iotop"

# SliTaz package receipt.

PACKAGE="iotop"
VERSION="0.6"
CATEGORY="system-tools"
SHORT_DESC="Show of behalf of which process is the I/O going on."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://guichaz.free.fr/iotop"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$WEB_SITE/files/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/sbin $fs/usr
    cp -a $install/usr/lib $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)