wok annotate iftop/receipt @ rev 15855

New kernel config and huge receipt clean up
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 29 09:56:07 2014 +0100 (2014-01-29)
parents 209f2ed52094
children c7c3567bd8d4
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@15600 8 LICENSE="GPL2"
pascal@1308 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1308 10 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
pascal@1308 11 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@15600 12 TAGS="network monitor usage"
pascal@15600 13
slaxemulator@7168 14 BUILD_DEPENDS="libpcap-dev ncurses-dev"
pascal@1308 15 DEPENDS="libpcap ncurses"
pascal@1308 16
pascal@1308 17 # Rules to configure and make the package.
pascal@1308 18 compile_rules()
pascal@1308 19 {
pascal@1308 20 cd $src
pascal@1308 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1308 22 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1308 23 make
pascal@15600 24 make DESTDIR=$DESTDIR install
pascal@1308 25 }
pascal@1308 26
pascal@1308 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1308 28 genpkg_rules()
pascal@1308 29 {
pascal@1308 30 mkdir -p $fs/usr/
pascal@15600 31 cp -a $install/usr/sbin $fs/usr
pascal@1308 32 }
pascal@1308 33