wok-next diff darkstat/receipt @ rev 17480

Up libcrypto,libcrypto-dev (1.0.1j)
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 29 17:58:33 2014 -0500 (2014-12-29)
parents 209f2ed52094
children a3c581bf52b8
line diff
     1.1 --- a/darkstat/receipt	Sun Nov 07 19:07:37 2010 +0000
     1.2 +++ b/darkstat/receipt	Mon Dec 29 17:58:33 2014 -0500
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Simpel network traffic statistics"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="libpcap zlib"
     1.8 -BUILD_DEPENDS="libpcap-dev zlib-dev"
     1.9 +LICENSE="GPL2 BSD"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://dmr.ath.cx/net/darkstat/"
    1.12  WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL"
    1.13  TAGS="network monitor stats statistics"
    1.14  
    1.15 +DEPENDS="libpcap zlib"
    1.16 +BUILD_DEPENDS="libpcap-dev zlib-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -19,14 +21,13 @@
    1.22  	./configure  --prefix=/usr \
    1.23  	--with-chroot-dir=/var/lib/darkstat
    1.24  		
    1.25 -	make && make DESTDIR=$PWD/_pkg install
    1.26 +	make && make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr $fs/var/lib/darkstat
    1.33 -	cp -a $_pkg/usr/sbin $fs/usr
    1.34 -	
    1.35 +	cp -a $install/usr/sbin $fs/usr
    1.36  }
    1.37