wok-6.x annotate iotop/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents e89a1f734312
children 5e6810e4a860
rev   line source
pascal@17074 1 # SliTaz package receipt.
pascal@17074 2
pascal@17074 3 PACKAGE="iotop"
pascal@17074 4 VERSION="0.6"
pascal@17074 5 CATEGORY="system-tools"
pascal@17074 6 SHORT_DESC="Show of behalf of which process is the I/O going on."
pascal@17074 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17074 8 LICENSE=""
pascal@17074 9 WEB_SITE="http://guichaz.free.fr/iotop"
pascal@17074 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@18077 11 WGET_URL="$WEB_SITE/files/$TARBALL"
pascal@17074 12
pascal@17074 13 DEPENDS="python"
pascal@17074 14 BUILD_DEPENDS="python"
pascal@17074 15
pascal@17074 16 # Rules to configure and make the package.
pascal@17074 17 compile_rules()
pascal@17074 18 {
pascal@17074 19 python setup.py build
pascal@17074 20 python setup.py install --root=$DESTDIR
pascal@17074 21 }
pascal@17074 22
pascal@17074 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17074 24 genpkg_rules()
pascal@17074 25 {
pascal@17074 26 mkdir -p $fs/usr
al@18077 27 cp -a $install/usr/sbin $fs/usr
al@18077 28 cp -a $install/usr/lib $fs/usr
pascal@17074 29 }