wok-6.x view nethogs/receipt @ rev 20119
slitaz-base-files (333), slitaz-boot-scripts (445), slitaz-configs (313), slitaz-tools (1025), tazbug (152), tazinst (93), tazirc (22), tazlito (469), tazpanel (617), tazweb (208): revision of german messages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 10:45:51 2017 +0200 (2017-10-14) |
parents | 3ba8d2c9720d |
children | e6a4cd87fdcb |
line source
1 # SliTaz package receipt.
3 PACKAGE="nethogs"
4 VERSION="0.8.0"
5 CATEGORY="network"
6 SHORT_DESC="Small 'net top' tool."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://nethogs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="network"
14 DEPENDS="ncurses gcc-lib-base libpcap"
15 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|lncurses|& -ltinfo|' Makefile
21 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
22 cd $src
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp $src/$PACKAGE $fs/usr/sbin
31 }