wok-next annotate iftop/receipt @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents 466bca9334ef
children
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"
al@21020 6 SHORT_DESC="Bandwidth usage on an interface"
pascal@1308 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://www.ex-parrot.com/~pdw/iftop/"
al@21020 10
pascal@1308 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1308 12 WGET_URL="${WEB_SITE}download/$TARBALL"
pascal@15600 13
slaxemulator@7168 14 BUILD_DEPENDS="libpcap-dev ncurses-dev"
pascal@1308 15
al@21020 16 compile_rules() {
al@21020 17 ./configure \
al@21020 18 --prefix=/usr \
al@21020 19 --infodir=/usr/share/info \
al@21020 20 --mandir=/usr/share/man \
al@21020 21 $CONFIGURE_ARGS &&
al@21020 22 make &&
al@21020 23 make DESTDIR=$install install
pascal@1308 24 }
pascal@1308 25
al@21020 26 genpkg_rules() {
pascal@1308 27 mkdir -p $fs/usr/
pascal@15600 28 cp -a $install/usr/sbin $fs/usr
al@21020 29 DEPENDS="libpcap ncurses"
al@21020 30 TAGS="network monitor usage"
pascal@1308 31 }