wok-current annotate htop/receipt @ rev 202
Category system-tools (file manger, pciutils, etc)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 13 13:27:11 2008 +0100 (2008-02-13) |
parents | cdac43c3f44f |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="htop" |
pankso@145 | 4 VERSION="0.7" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@7 | 6 SHORT_DESC="Interactive process viewer." |
pankso@7 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@7 | 8 DEPENDS="ncurses" |
pankso@7 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 10 WEB_SITE="http://htop.sourceforge.net/" |
pankso@7 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@153 | 12 JWM_MENU='System tools:<Program icon="htop.png" label="Htop">xterm -bg black -fg white -e htop</Program>' |
pankso@7 | 13 |
pankso@7 | 14 # Rules to configure and make the package. |
pankso@7 | 15 compile_rules() |
pankso@7 | 16 { |
pankso@7 | 17 cd $src |
pankso@7 | 18 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@7 | 19 make |
pankso@7 | 20 make DESTDIR=$PWD/_pkg install |
pankso@7 | 21 } |
pankso@7 | 22 |
pankso@7 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 24 genpkg_rules() |
pankso@7 | 25 { |
pankso@7 | 26 mkdir -p $fs/usr/bin $fs/usr/share |
pankso@7 | 27 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@7 | 28 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@7 | 29 strip -s $fs/usr/bin/* |
pankso@7 | 30 } |