wok-next view jnettop/receipt @ rev 12507

Up: xorg-libXt (1.1.3)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 23:07:06 2012 +0200 (2012-04-24)
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 }