wok view iftop/receipt @ rev 22891
updated gtest (1.7.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 23 08:12:43 2020 +0100 (2020-02-23) |
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 }