wok annotate jnettop/receipt @ rev 14604

Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 31 00:58:07 2013 +0000 (2013-05-31)
parents ea3283ffaffe
children 7896f0694ef6
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"
paul@11234 8 DEPENDS="ncurses libpcap libdb"
pascal@11223 9 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
pascal@11223 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11223 11 WEB_SITE="http://jnettop.kubs.info/wiki/"
pascal@11223 12 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
pascal@11223 13
pascal@11223 14 # Rules to configure and make the package.
pascal@11223 15 compile_rules()
pascal@11223 16 {
pascal@11223 17 cd $src
pascal@11223 18 ./configure \
pascal@11223 19 --prefix=/usr \
pascal@11223 20 --infodir=/usr/share/info \
pascal@11223 21 --mandir=/usr/share/man \
pascal@11223 22 $CONFIGURE_ARGS &&
pascal@11223 23 make && make DESTDIR=$PWD/_pkg install
pascal@11223 24 }
pascal@11223 25
pascal@11223 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11223 27 genpkg_rules()
pascal@11223 28 {
pascal@11223 29 mkdir -p $fs/usr/share $fs/root
pascal@11223 30 cp -a $_pkg/usr/bin $fs/usr
pascal@11223 31 cp -a $_pkg/usr/share/jnettop $fs/usr/share
pascal@11223 32 # config file
pascal@11223 33 cp -a $src/.jnettop $fs/root/.jnettop
pascal@11223 34 }
pascal@11223 35