wok annotate nethogs/receipt @ rev 4936
add/improve TAGS f* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 13:56:26 2010 +0000 (2010-02-16) |
parents | |
children | bee79018e13a |
rev | line source |
---|---|
paul@4626 | 1 # SliTaz package receipt. |
paul@4626 | 2 |
paul@4626 | 3 PACKAGE="nethogs" |
paul@4626 | 4 VERSION="0.7.0" |
paul@4626 | 5 CATEGORY="network" |
paul@4626 | 6 SHORT_DESC="Small 'net top' tool." |
paul@4626 | 7 MAINTAINER="paul@slitaz.org" |
paul@4626 | 8 DEPENDS="ncurses" |
paul@4626 | 9 BUILD_DEPENDS="ncurses-dev libpcap" |
paul@4626 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4626 | 11 WEB_SITE="http://nethogs.sourceforge.net/" |
paul@4626 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@4626 | 13 |
paul@4626 | 14 # Rules to configure and make the package. |
paul@4626 | 15 compile_rules() |
paul@4626 | 16 { |
paul@4626 | 17 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null |
paul@4626 | 18 cd $src |
paul@4626 | 19 make |
paul@4626 | 20 } |
paul@4626 | 21 |
paul@4626 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4626 | 23 genpkg_rules() |
paul@4626 | 24 { |
paul@4626 | 25 mkdir -p $fs/usr/sbin |
paul@4626 | 26 cp $src/$PACKAGE $fs/usr/sbin |
paul@4626 | 27 } |
paul@4626 | 28 |