wok-next view jnettop/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | a3c581bf52b8 |
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 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20161127214942/http://jnettop.kubs.info/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL" # FIXME
14 BUILD_DEPENDS="ncurses-dev libpcap-dev glib-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$install install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/share $fs/root
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share/jnettop $fs/usr/share
30 # config file
31 cp -a $src/.jnettop $fs/root/.jnettop
32 DEPENDS="ncurses libpcap libdb"
33 }