wok-stable annotate iftop/receipt @ rev 2863

sudo (1.7.1) [security update]
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 10:36:16 2009 +0200 (2009-05-02)
parents
children faa4c6e9600b
rev   line source
pascal@1308 1 # SliTaz package receipt.
pascal@1308 2
pascal@1308 3 PACKAGE="iftop"
pascal@1308 4 VERSION="0.17"
pascal@1308 5 CATEGORY="system-tools"
pascal@1308 6 SHORT_DESC="Bandwidth usage on an interface."
pascal@1308 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1308 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1308 9 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
pascal@1308 10 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@1308 11 BUILD_DEPENDS="libpcap ncurses-dev"
pascal@1308 12 DEPENDS="libpcap ncurses"
pascal@1308 13
pascal@1308 14 # Rules to configure and make the package.
pascal@1308 15 compile_rules()
pascal@1308 16 {
pascal@1308 17 cd $src
pascal@1308 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1308 19 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1308 20 make
pascal@1308 21 make DESTDIR=$PWD/_pkg install
pascal@1308 22 }
pascal@1308 23
pascal@1308 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1308 25 genpkg_rules()
pascal@1308 26 {
pascal@1308 27 mkdir -p $fs/usr/
pascal@1308 28 cp -a $_pkg/usr/sbin $fs/usr
pascal@1308 29 }
pascal@1308 30