wok-stable view htop/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents 96b43eaea827
children 9383e3471bd9
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="0.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Interactive process viewer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://htop.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="monitor system"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share
28 cp -a $_pkg/usr/bin/* $fs/usr/bin
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 }