wok-4.x view nethogs/receipt @ rev 4626

Add: nethogs
author Paul Issott <paul@slitaz.org>
date Sun Dec 20 11:41:43 2009 +0000 (2009-12-20)
parents
children bee79018e13a
line source
1 # SliTaz package receipt.
3 PACKAGE="nethogs"
4 VERSION="0.7.0"
5 CATEGORY="network"
6 SHORT_DESC="Small 'net top' tool."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev libpcap"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://nethogs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
18 cd $src
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/sbin
26 cp $src/$PACKAGE $fs/usr/sbin
27 }