wok-4.x view nethogs/receipt @ rev 12469

tazpkg: upgrade core pkgs first
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 19:06:12 2022 +0000 (24 months ago)
parents 5b44af8c1257
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nethogs"
4 VERSION="0.7.0"
5 CATEGORY="network"
6 SHORT_DESC="Small 'net top' tool."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://nethogs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp $src/$PACKAGE $fs/usr/sbin
28 }