wok-6.x diff darkstat/receipt @ rev 3576
tint2: update VERSION, BUILD_DEPENDS, add CONFIG_FILES
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Jun 26 06:50:57 2009 +0000 (2009-06-26) |
parents | |
children | fee531f1e85e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/darkstat/receipt Fri Jun 26 06:50:57 2009 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="darkstat" 1.7 +VERSION="3.0.712" 1.8 +CATEGORY="system-tool" 1.9 +SHORT_DESC="Simpel network traffic statistics" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="libpcap" 1.12 +BUILD_DEPENDS="libpcap" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://dmr.ath.cx/net/darkstat/" 1.15 +WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr \ 1.22 + --with-chroot-dir=/var/lib/darkstat 1.23 + 1.24 + make && make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr $fs/var/lib/darkstat 1.31 + cp -a $_pkg/usr/sbin $fs/usr 1.32 + 1.33 +} 1.34 +