wok-6.x view iftop/receipt @ rev 12764

Up broadcom-wl (5_100_82_112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 13:52:35 2012 +0200 (2012-05-12)
parents faa4c6e9600b
children de49f29b101e
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 }