wok rev 23235

updated nethogs (0.8.0 -> 0.8.5)
author Hans-G?nter Theisgen
date Tue Mar 24 17:10:02 2020 +0100 (2020-03-24)
parents 9ec990a361cd
children eeb3f2dda9df
files nethogs/receipt
line diff
     1.1 --- a/nethogs/receipt	Tue Mar 24 14:26:07 2020 +0100
     1.2 +++ b/nethogs/receipt	Tue Mar 24 17:10:02 2020 +0100
     1.3 @@ -1,23 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nethogs"
     1.7 -VERSION="0.8.0"
     1.8 +VERSION="0.8.5"
     1.9  CATEGORY="network"
    1.10 +TAGS="network"
    1.11  SHORT_DESC="Small 'net top' tool."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="https://github.com/raboof/nethogs"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://nethogs.sourceforge.net/"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="network"
    1.20 +WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
    1.21  
    1.22 -DEPENDS="ncurses gcc-lib-base libpcap"
    1.23 -BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
    1.24 +DEPENDS="gcc-lib-base libpcap ncursesw"
    1.25 +BUILD_DEPENDS="libpcap libpcap-dev ncursesw-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	sed -i 's|lncurses|& -ltinfo|' Makefile
    1.31 +#	sed -i 's|lncurses|& -ltinfo|' Makefile
    1.32 +	export	LDFLAGS="$LDFLAGS -lncursesw"
    1.33 +
    1.34  	make 
    1.35  }
    1.36  
    1.37 @@ -25,5 +28,5 @@
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs/usr/sbin
    1.41 -	cp $src/$PACKAGE $fs/usr/sbin
    1.42 +	cp $src/src/nethogs	$fs/usr/sbin
    1.43  }