wok-next view darkstat/receipt @ rev 15939
Add compton (X compositor) Fork of xcompmgr with bug fixes and lots of improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 19:24:36 2014 +0100 (2014-02-22) |
parents | 209f2ed52094 |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="darkstat"
4 VERSION="3.0.713"
5 CATEGORY="network"
6 SHORT_DESC="Simpel network traffic statistics"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://dmr.ath.cx/net/darkstat/"
11 WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL"
12 TAGS="network monitor stats statistics"
14 DEPENDS="libpcap zlib"
15 BUILD_DEPENDS="libpcap-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --with-chroot-dir=/var/lib/darkstat
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/var/lib/darkstat
31 cp -a $install/usr/sbin $fs/usr
32 }