wok annotate nethogs/receipt @ rev 19344

Up busybox (1.25.0), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 21 15:03:18 2016 +0200 (2016-07-21)
parents 3ba8d2c9720d
children e6a4cd87fdcb
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 {
pascal@17673 20 sed -i 's|lncurses|& -ltinfo|' Makefile
paul@4626 21 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
paul@4626 22 cd $src
paul@4626 23 make
paul@4626 24 }
paul@4626 25
paul@4626 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4626 27 genpkg_rules()
paul@4626 28 {
paul@4626 29 mkdir -p $fs/usr/sbin
paul@4626 30 cp $src/$PACKAGE $fs/usr/sbin
paul@4626 31 }