wok-next view nethogs/receipt @ rev 12404
Add configs files from slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 16:51:07 2012 +0200 (2012-04-20) |
parents | 5b44af8c1257 |
children | 6046c764a36c |
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 gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://nethogs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp $src/$PACKAGE $fs/usr/sbin
28 }