wok-6.x annotate darkstat/receipt @ rev 6552
Up: qjackctl to 0.3.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 12:50:12 2010 +0000 (2010-10-07) |
parents | 6e90579538d6 |
children | 209f2ed52094 |
rev | line source |
---|---|
erjo@3058 | 1 # SliTaz package receipt. |
erjo@3058 | 2 |
erjo@3058 | 3 PACKAGE="darkstat" |
slaxemulator@6368 | 4 VERSION="3.0.713" |
pascal@3610 | 5 CATEGORY="network" |
erjo@3058 | 6 SHORT_DESC="Simpel network traffic statistics" |
erjo@3058 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5000 | 8 DEPENDS="libpcap zlib" |
pascal@5000 | 9 BUILD_DEPENDS="libpcap zlib-dev" |
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" |
jozee@4934 | 13 TAGS="network monitor stats statistics" |
erjo@3058 | 14 |
erjo@3058 | 15 # Rules to configure and make the package. |
erjo@3058 | 16 compile_rules() |
erjo@3058 | 17 { |
erjo@3058 | 18 cd $src |
erjo@3058 | 19 ./configure --prefix=/usr \ |
erjo@3058 | 20 --with-chroot-dir=/var/lib/darkstat |
erjo@3058 | 21 |
erjo@3058 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@3058 | 23 } |
erjo@3058 | 24 |
erjo@3058 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3058 | 26 genpkg_rules() |
erjo@3058 | 27 { |
erjo@3058 | 28 mkdir -p $fs/usr $fs/var/lib/darkstat |
erjo@3058 | 29 cp -a $_pkg/usr/sbin $fs/usr |
erjo@3058 | 30 |
erjo@3058 | 31 } |
erjo@3058 | 32 |