wok-6.x annotate htop/receipt @ rev 7

Add : ncurses + clex, htop, rhapsody
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 13 15:18:32 2007 +0100 (2007-12-13)
parents
children 7f8360337415
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="htop"
pankso@7 4 VERSION="0.6.6"
pankso@7 5 CATEGORY="base-apps"
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"
pankso@7 12
pankso@7 13 # Rules to configure and make the package.
pankso@7 14 compile_rules()
pankso@7 15 {
pankso@7 16 cd $src
pankso@7 17 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@7 18 make
pankso@7 19 make DESTDIR=$PWD/_pkg install
pankso@7 20 }
pankso@7 21
pankso@7 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 23 genpkg_rules()
pankso@7 24 {
pankso@7 25 mkdir -p $fs/usr/bin $fs/usr/share
pankso@7 26 cp -a $_pkg/usr/bin/* $fs/usr/bin
pankso@7 27 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@7 28 strip -s $fs/usr/bin/*
pankso@7 29 }