wok-next annotate iftop/receipt @ rev 16367
libusb-compat-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 14 11:12:53 2014 +0000 (2014-04-14) |
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 |