wok view darkstat/receipt @ rev 4638
Up firefox-dev (3.5.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 25 11:35:49 2009 +0100 (2009-12-25) |
parents | 90a95c61b4df |
children | 74a6a43bf614 |
line source
1 # SliTaz package receipt.
3 PACKAGE="darkstat"
4 VERSION="3.0.712"
5 CATEGORY="network"
6 SHORT_DESC="Simpel network traffic statistics"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libpcap"
9 BUILD_DEPENDS="libpcap"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://dmr.ath.cx/net/darkstat/"
12 WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --with-chroot-dir=/var/lib/darkstat
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/var/lib/darkstat
28 cp -a $_pkg/usr/sbin $fs/usr
30 }