wok-6.x view htop/receipt @ rev 11965

tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 02 15:32:28 2012 +0100 (2012-03-02)
parents 9383e3471bd9
children 4f527a2114bf
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="1.0"
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/applications
28 cp -a $stuff/htop.desktop $fs/usr/share/applications
29 cp -a $_pkg/usr/bin/* $fs/usr/bin
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 }