wok-next view jnettop/receipt @ rev 11564

Add ranger form wok-undigest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 25 15:19:22 2011 +0100 (2011-12-25)
parents ea3283ffaffe
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="jnettop"
4 VERSION="0.13.0"
5 CATEGORY="network"
6 SHORT_DESC="Network online traffic visualizer."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses libpcap libdb"
9 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://jnettop.kubs.info/wiki/"
12 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/root
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/jnettop $fs/usr/share
32 # config file
33 cp -a $src/.jnettop $fs/root/.jnettop
34 }