wok view jnettop/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents e93301ba4fec
children b9659e3c2111
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20161127214942/http://jnettop.kubs.info/wiki/"
11 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
13 DEPENDS="ncurses libpcap libdb"
14 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/root
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/jnettop $fs/usr/share
34 # config file
35 cp -a $src/.jnettop $fs/root/.jnettop
36 }