wok-current view nethogs/receipt @ rev 25262
updated rclone (1.51.0 -> 1.59.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:42:33 2022 +0100 (2022-07-15) |
parents | 4e6875d4e582 |
children |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # sed -i 's|lncurses|& -ltinfo|' Makefile
28 export LDFLAGS="$LDFLAGS -lncursesw"
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin
37 cp $src/src/nethogs $fs/usr/sbin
38 }