wok-6.x rev 4626

Add: nethogs
author Paul Issott <paul@slitaz.org>
date Sun Dec 20 11:41:43 2009 +0000 (2009-12-20)
parents 250505e1d0ea
children 43851b0813ec
files nethogs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nethogs/receipt	Sun Dec 20 11:41:43 2009 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nethogs"
     1.7 +VERSION="0.7.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small 'net top' tool."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev libpcap"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://nethogs.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
    1.21 +	cd $src
    1.22 +	make 
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/sbin
    1.29 +	cp $src/$PACKAGE $fs/usr/sbin
    1.30 +}
    1.31 +