wok-current view nethogs/receipt @ rev 23674

Up lemon, libsqlite, libsqlite-tcl (3.31.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 09:06:07 2020 +0000 (2020-04-26)
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 }