wok annotate iftop/receipt @ rev 20882
include more mo files with emerald
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 25 14:40:41 2019 +0100 (2019-02-25) |
parents | de49f29b101e |
children | 83b97236db32 |
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@17673 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
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 } |