wok-next view nethogs/receipt @ rev 5035
Up:mplayer-svn;improve compile_options; reduce deps and size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 03 11:21:08 2010 +0000 (2010-03-03) |
parents | bee79018e13a |
children | 54cef349f3b7 |
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 gcc-lib-base"
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"
13 TAGS="network"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
19 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp $src/$PACKAGE $fs/usr/sbin
28 }