wok-current annotate jnettop/receipt @ rev 22992

updated l3afpad again (0.8.18.1.10 -> 0.8.18.1.11)
author Hans-G?nter Theisgen
date Sun Mar 01 17:52:11 2020 +0100 (2020-03-01)
parents e93301ba4fec
children b9659e3c2111
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"
pascal@11223 6 SHORT_DESC="Network online traffic visualizer."
pascal@11223 7 MAINTAINER="paul@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@11223 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20673 10 WEB_SITE="https://web.archive.org/web/20161127214942/http://jnettop.kubs.info/wiki/"
pascal@11223 11 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
pascal@11223 12
pascal@15002 13 DEPENDS="ncurses libpcap libdb"
pascal@15002 14 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
pascal@15002 15
pascal@11223 16 # Rules to configure and make the package.
pascal@11223 17 compile_rules()
pascal@11223 18 {
pascal@17628 19 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@11223 20 ./configure \
pascal@11223 21 --prefix=/usr \
pascal@11223 22 --infodir=/usr/share/info \
pascal@11223 23 --mandir=/usr/share/man \
pascal@11223 24 $CONFIGURE_ARGS &&
pascal@15002 25 make && make DESTDIR=$DESTDIR install
pascal@11223 26 }
pascal@11223 27
pascal@11223 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11223 29 genpkg_rules()
pascal@11223 30 {
pascal@11223 31 mkdir -p $fs/usr/share $fs/root
pascal@15002 32 cp -a $install/usr/bin $fs/usr
pascal@15002 33 cp -a $install/usr/share/jnettop $fs/usr/share
pascal@11223 34 # config file
pascal@11223 35 cp -a $src/.jnettop $fs/root/.jnettop
pascal@11223 36 }