wok view nethogs/receipt @ rev 4839

mirror-tools: add --sources
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 28 16:26:39 2010 +0100 (2010-01-28)
parents
children bee79018e13a
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"
9 BUILD_DEPENDS="ncurses-dev libpcap"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://nethogs.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
18 cd $src
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/sbin
26 cp $src/$PACKAGE $fs/usr/sbin
27 }