wok view iftop/receipt @ rev 16385
ntk-dev: add deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 15 07:39:51 2014 +0000 (2014-04-15) |
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 }