wok-stable view nethogs/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
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 }