wok-stable annotate iftop/receipt @ rev 5571
v4l-dvb: fix lsmod path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 21:40:50 2010 +0200 (2010-05-14) |
parents | 27ee6849ba17 |
children | 209f2ed52094 |
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" |
pascal@1308 | 11 BUILD_DEPENDS="libpcap 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 |