wok-current view nethogs/receipt @ rev 23847

cairo: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sat Jun 13 18:19:02 2020 -0400 (2020-06-13)
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 }