wok-next annotate jnettop/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children
rev   line source
pascal@11223 1 # SliTaz package receipt.
pascal@11223 2
pascal@11223 3 PACKAGE="jnettop"
pascal@11223 4 VERSION="0.13.0"
pascal@11223 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Network online traffic visualizer"
pascal@11223 7 MAINTAINER="paul@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://web.archive.org/web/20161127214942/http://jnettop.kubs.info/wiki/"
al@21020 10
pascal@11223 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20906 12 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL" # FIXME
pascal@11223 13
al@20513 14 BUILD_DEPENDS="ncurses-dev libpcap-dev glib-dev"
pascal@15002 15
al@21020 16 compile_rules() {
pascal@11223 17 ./configure \
pascal@11223 18 --prefix=/usr \
pascal@11223 19 --infodir=/usr/share/info \
pascal@11223 20 --mandir=/usr/share/man \
pascal@11223 21 $CONFIGURE_ARGS &&
al@21020 22 make &&
al@21020 23 make DESTDIR=$install install
pascal@11223 24 }
pascal@11223 25
al@21020 26 genpkg_rules() {
pascal@11223 27 mkdir -p $fs/usr/share $fs/root
pascal@15002 28 cp -a $install/usr/bin $fs/usr
pascal@15002 29 cp -a $install/usr/share/jnettop $fs/usr/share
pascal@11223 30 # config file
pascal@11223 31 cp -a $src/.jnettop $fs/root/.jnettop
al@21020 32 DEPENDS="ncurses libpcap libdb"
pascal@11223 33 }