wok-next annotate darkstat/receipt @ rev 3467
Add: jikes, an Open Source Java compiler
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jun 16 10:24:59 2009 +0000 (2009-06-16) |
parents | |
children | fee531f1e85e |
rev | line source |
---|---|
erjo@3058 | 1 # SliTaz package receipt. |
erjo@3058 | 2 |
erjo@3058 | 3 PACKAGE="darkstat" |
erjo@3058 | 4 VERSION="3.0.712" |
erjo@3058 | 5 CATEGORY="system-tool" |
erjo@3058 | 6 SHORT_DESC="Simpel network traffic statistics" |
erjo@3058 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@3058 | 8 DEPENDS="libpcap" |
erjo@3058 | 9 BUILD_DEPENDS="libpcap" |
erjo@3058 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@3058 | 11 WEB_SITE="http://dmr.ath.cx/net/darkstat/" |
erjo@3058 | 12 WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL" |
erjo@3058 | 13 |
erjo@3058 | 14 # Rules to configure and make the package. |
erjo@3058 | 15 compile_rules() |
erjo@3058 | 16 { |
erjo@3058 | 17 cd $src |
erjo@3058 | 18 ./configure --prefix=/usr \ |
erjo@3058 | 19 --with-chroot-dir=/var/lib/darkstat |
erjo@3058 | 20 |
erjo@3058 | 21 make && make DESTDIR=$PWD/_pkg install |
erjo@3058 | 22 } |
erjo@3058 | 23 |
erjo@3058 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3058 | 25 genpkg_rules() |
erjo@3058 | 26 { |
erjo@3058 | 27 mkdir -p $fs/usr $fs/var/lib/darkstat |
erjo@3058 | 28 cp -a $_pkg/usr/sbin $fs/usr |
erjo@3058 | 29 |
erjo@3058 | 30 } |
erjo@3058 | 31 |