wok view iftop/receipt @ rev 20272
Up usbip (3.16.55)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 16:42:58 2018 +0100 (2018-03-18) |
parents | de49f29b101e |
children | 83b97236db32 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
12 TAGS="network monitor usage"
14 BUILD_DEPENDS="libpcap-dev ncurses-dev"
15 DEPENDS="libpcap ncurses"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/
31 cp -a $install/usr/sbin $fs/usr
32 }