wok-6.x view iftop/receipt @ rev 7168

Changed libpcap to libpcap-dev in build depends of packages that used libpcap for build depends before.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 19:07:37 2010 +0000 (2010-11-07)
parents faa4c6e9600b
children de49f29b101e
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-dev ncurses-dev"
12 DEPENDS="libpcap ncurses"
13 TAGS="network monitor usage"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/
29 cp -a $_pkg/usr/sbin $fs/usr
30 }