wok diff jnettop/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 204e87ff8736
children a26f13d15480
line diff
     1.1 --- a/jnettop/receipt	Sun Nov 06 09:54:00 2011 +0000
     1.2 +++ b/jnettop/receipt	Mon Apr 14 19:59:46 2014 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Network online traffic visualizer."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="ncurses libpcap libdb"
     1.8 -BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://jnettop.kubs.info/wiki/"
    1.12  WGET_URL="http://jnettop.kubs.info/dist/$TARBALL"
    1.13  
    1.14 +DEPENDS="ncurses libpcap libdb"
    1.15 +BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -20,15 +22,15 @@
    1.21  		--infodir=/usr/share/info \
    1.22  		--mandir=/usr/share/man \
    1.23  		$CONFIGURE_ARGS &&
    1.24 -	make && make DESTDIR=$PWD/_pkg install
    1.25 +	make && make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/share $fs/root
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/share/jnettop $fs/usr/share
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/share/jnettop $fs/usr/share
    1.36  	# config file
    1.37  	cp -a $src/.jnettop $fs/root/.jnettop
    1.38  }