wok-6.x view nethogs/receipt @ rev 23712

updated udftools (2.1 -> 2.2)
author Hans-G?nter Theisgen
date Tue Apr 28 17:35:06 2020 +0100 (2020-04-28)
parents e6a4cd87fdcb
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="nethogs"
4 VERSION="0.8.5"
5 CATEGORY="network"
6 TAGS="network"
7 SHORT_DESC="Small 'net top' tool."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/raboof/nethogs"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
15 DEPENDS="gcc-lib-base libpcap ncursesw"
16 BUILD_DEPENDS="libpcap libpcap-dev ncursesw-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # sed -i 's|lncurses|& -ltinfo|' Makefile
22 export LDFLAGS="$LDFLAGS -lncursesw"
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/sbin
31 cp $src/src/nethogs $fs/usr/sbin
32 }