wok-current view iftop/receipt @ rev 10353
gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:40:19 2011 +0000 (2011-05-22) |
parents | faa4c6e9600b |
children | de49f29b101e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
11 BUILD_DEPENDS="libpcap-dev ncurses-dev"
12 DEPENDS="libpcap ncurses"
13 TAGS="network monitor usage"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $_pkg/usr/sbin $fs/usr
30 }