wok-4.x diff darkstat/receipt @ rev 3603

Add gsl (Numerical library)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 28 22:50:25 2009 +0200 (2009-06-28)
parents
children fee531f1e85e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/darkstat/receipt	Sun Jun 28 22:50:25 2009 +0200
     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 +