wok-undigest annotate jnettop/receipt @ rev 285

jnettop: fix deps
author Paul Issott <paul@slitaz.org>
date Tue May 31 20:53:20 2011 +0100 (2011-05-31)
parents 894cad288bd4
children
rev   line source
paul@240 1 # SliTaz package receipt.
paul@240 2
paul@240 3 PACKAGE="jnettop"
paul@240 4 VERSION="0.13.0"
paul@240 5 CATEGORY="network"
paul@240 6 SHORT_DESC="Network online traffic visualizer."
paul@240 7 MAINTAINER="paul@slitaz.org"
paul@285 8 DEPENDS="ncurses libpcap"
paul@285 9 BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
paul@240 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@240 11 WEB_SITE="http://jnettop.kubs.info/wiki/"
paul@240 12 WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
paul@240 13
paul@240 14 # Rules to configure and make the package.
paul@240 15 compile_rules()
paul@240 16 {
paul@240 17 cd $src
paul@240 18 ./configure \
paul@240 19 --prefix=/usr \
paul@240 20 --infodir=/usr/share/info \
paul@240 21 --mandir=/usr/share/man \
paul@240 22 $CONFIGURE_ARGS &&
paul@240 23 make && make DESTDIR=$PWD/_pkg install
paul@240 24 }
paul@240 25
paul@240 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@240 27 genpkg_rules()
paul@240 28 {
paul@240 29 mkdir -p $fs/usr/share $fs/root
paul@240 30 cp -a $_pkg/usr/bin $fs/usr
paul@240 31 cp -a $_pkg/usr/share/jnettop $fs/usr/share
paul@240 32 # config file
paul@240 33 cp -a $src/.jnettop $fs/root/.jnettop
paul@240 34 }
paul@240 35