wok view htop/receipt @ rev 3312

Edit: Nicotine+ genpkg_rules
author Claudinei Pereira <claudinei@slitaz.org>
date Sat Jun 06 21:50:00 2009 +0000 (2009-06-06)
parents 484f8f7b44bf
children c6ccd6bc43b1
line source
1 # SliTaz package receipt.
3 PACKAGE="htop"
4 VERSION="0.8"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share
27 cp -a $_pkg/usr/bin/* $fs/usr/bin
28 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
29 strip -s $fs/usr/bin/*
30 }