wok annotate htop/receipt @ rev 12043
dovecot: Add initscript. Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 07 17:24:26 2012 +0100 (2012-03-07) |
parents | 9383e3471bd9 |
children | 4f527a2114bf |
rev | line source |
---|---|
pankso@7 | 1 # SliTaz package receipt. |
pankso@7 | 2 |
pankso@7 | 3 PACKAGE="htop" |
devl547@11330 | 4 VERSION="1.0" |
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" |
pascal@1439 | 9 BUILD_DEPENDS="ncurses-dev" |
pankso@7 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7 | 11 WEB_SITE="http://htop.sourceforge.net/" |
pankso@7 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4937 | 13 TAGS="monitor system" |
pankso@7 | 14 |
pankso@7 | 15 # Rules to configure and make the package. |
pankso@7 | 16 compile_rules() |
pankso@7 | 17 { |
pankso@7 | 18 cd $src |
pascal@1439 | 19 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1439 | 20 make && |
pankso@7 | 21 make DESTDIR=$PWD/_pkg install |
pankso@7 | 22 } |
pankso@7 | 23 |
pankso@7 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7 | 25 genpkg_rules() |
pankso@7 | 26 { |
pascal@11623 | 27 mkdir -p $fs/usr/bin $fs/usr/share/applications |
pascal@11623 | 28 cp -a $stuff/htop.desktop $fs/usr/share/applications |
pankso@7 | 29 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@7 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@7 | 31 } |