wok-stable view jnettop/receipt @ rev 11312
Up: xfe (1.32.4)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Tue Nov 15 08:34:19 2011 +0000 (2011-11-15) |
parents | ea3283ffaffe |
children |
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 }