wok-4.x view iftop/receipt @ rev 4592
update get-wifi-firmaware; rt2860,rt2870 fw now in kernel; rt73,rt61 WGET_URL temporarily fixed using Arch sources
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Dec 11 12:21:27 2009 +0000 (2009-12-11) |
parents | |
children | faa4c6e9600b |
line source
1 # SliTaz package receipt.
3 PACKAGE="iftop"
4 VERSION="0.17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Bandwidth usage on an interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ex-parrot.com/~pdw/iftop/"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
11 BUILD_DEPENDS="libpcap ncurses-dev"
12 DEPENDS="libpcap ncurses"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/
28 cp -a $_pkg/usr/sbin $fs/usr
29 }