wok-next view iftop/receipt @ rev 16478
Up xpaint + libXaw3dXft and add to ARM (would be nice to have a small paint tool in next R-Pi release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 01:56:24 2014 +0200 (2014-04-23) |
parents | 209f2ed52094 |
children | c7c3567bd8d4 |
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 cd $src
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 }