wok-4.x annotate htop/receipt @ rev 692

lxpanel: fix creation lxsession-logout post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 26 07:16:10 2008 +0000 (2008-04-26)
parents 4615573735e2
children 484f8f7b44bf
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"
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 }