wok-next view iftop/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 466bca9334ef |
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 LICENSE="GPL2"
9 WEB_SITE="http://www.ex-parrot.com/~pdw/iftop/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 BUILD_DEPENDS="libpcap-dev ncurses-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$install install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/
28 cp -a $install/usr/sbin $fs/usr
29 DEPENDS="libpcap ncurses"
30 TAGS="network monitor usage"
31 }