wok-next diff darkstat/receipt @ rev 17403
faenza-icon-theme: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 11:35:23 2014 +0100 (2014-11-28) |
parents | 209f2ed52094 |
children | a3c581bf52b8 |
line diff
1.1 --- a/darkstat/receipt Sun Nov 07 19:07:37 2010 +0000 1.2 +++ b/darkstat/receipt Fri Nov 28 11:35:23 2014 +0100 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