wok-4.x view iftop/receipt @ rev 10747

rt-source*: move to undigest
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 12:20:27 2011 +0200 (2011-05-30)
parents faa4c6e9600b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="iftop"
4 VERSION="0.17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bandwidth usage on an interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
11 BUILD_DEPENDS="libpcap-dev ncurses-dev"
12 DEPENDS="libpcap ncurses"
13 TAGS="network monitor usage"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $_pkg/usr/sbin $fs/usr
30 }