wok-current annotate nethogs/receipt @ rev 17526

Add jp2a
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 19 00:23:49 2015 +0100 (2015-01-19)
parents 6046c764a36c
children 3ba8d2c9720d
rev   line source
paul@4626 1 # SliTaz package receipt.
paul@4626 2
paul@4626 3 PACKAGE="nethogs"
paul@13921 4 VERSION="0.8.0"
paul@4626 5 CATEGORY="network"
paul@4626 6 SHORT_DESC="Small 'net top' tool."
paul@4626 7 MAINTAINER="paul@slitaz.org"
pascal@15601 8 LICENSE="GPL"
paul@4626 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4626 10 WEB_SITE="http://nethogs.sourceforge.net/"
paul@4626 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4969 12 TAGS="network"
paul@4626 13
pascal@15601 14 DEPENDS="ncurses gcc-lib-base libpcap"
pascal@15601 15 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev"
pascal@15601 16
paul@4626 17 # Rules to configure and make the package.
paul@4626 18 compile_rules()
paul@4626 19 {
paul@4626 20 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
paul@4626 21 cd $src
paul@4626 22 make
paul@4626 23 }
paul@4626 24
paul@4626 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4626 26 genpkg_rules()
paul@4626 27 {
paul@4626 28 mkdir -p $fs/usr/sbin
paul@4626 29 cp $src/$PACKAGE $fs/usr/sbin
paul@4626 30 }
paul@4626 31