wok-6.x annotate iftop/receipt @ rev 12370

Up: libcdio to 0.83.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 21:48:35 2012 +0000 (2012-04-19)
parents faa4c6e9600b
children de49f29b101e
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"
slaxemulator@7168 11 BUILD_DEPENDS="libpcap-dev ncurses-dev"
pascal@1308 12 DEPENDS="libpcap ncurses"
jozee@4938 13 TAGS="network monitor usage"
pascal@1308 14
pascal@1308 15 # Rules to configure and make the package.
pascal@1308 16 compile_rules()
pascal@1308 17 {
pascal@1308 18 cd $src
pascal@1308 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1308 20 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1308 21 make
pascal@1308 22 make DESTDIR=$PWD/_pkg install
pascal@1308 23 }
pascal@1308 24
pascal@1308 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1308 26 genpkg_rules()
pascal@1308 27 {
pascal@1308 28 mkdir -p $fs/usr/
pascal@1308 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@1308 30 }
pascal@1308 31