wok-6.x annotate nethogs/receipt @ rev 9986
Add ii
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:33:38 2011 +0200 (2011-05-18) |
parents | bee79018e13a |
children | 54cef349f3b7 |
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" |
pascal@5004 | 8 DEPENDS="ncurses gcc-lib-base" |
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" |
jozee@4969 | 13 TAGS="network" |
paul@4626 | 14 |
paul@4626 | 15 # Rules to configure and make the package. |
paul@4626 | 16 compile_rules() |
paul@4626 | 17 { |
paul@4626 | 18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null |
paul@4626 | 19 cd $src |
paul@4626 | 20 make |
paul@4626 | 21 } |
paul@4626 | 22 |
paul@4626 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4626 | 24 genpkg_rules() |
paul@4626 | 25 { |
paul@4626 | 26 mkdir -p $fs/usr/sbin |
paul@4626 | 27 cp $src/$PACKAGE $fs/usr/sbin |
paul@4626 | 28 } |
paul@4626 | 29 |