wok-next view jnettop/receipt @ rev 14890

Up: python-html5lib (0.95)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:03:10 2013 -0300 (2013-07-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 }