wok-next view htop/receipt @ rev 8922

Fix gob2: add bdep flex
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:33:54 2011 +0100 (2011-03-01)
parents 23cd2d928eed
children 02bbaa9d12ba
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 strip -s $fs/usr/bin/*
31 }