wok-6.x annotate darkstat/receipt @ rev 19430

syslinux/iso2exe.sh: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 02 11:19:07 2016 +0200 (2016-10-02)
parents 209f2ed52094
children 6e8b1bcb30e2
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@15579 8 LICENSE="GPL2 BSD"
erjo@3058 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@3058 10 WEB_SITE="http://dmr.ath.cx/net/darkstat/"
erjo@3058 11 WGET_URL="http://dmr.ath.cx/net/darkstat/$TARBALL"
jozee@4934 12 TAGS="network monitor stats statistics"
erjo@3058 13
pascal@15579 14 DEPENDS="libpcap zlib"
pascal@15579 15 BUILD_DEPENDS="libpcap-dev zlib-dev"
pascal@15579 16
erjo@3058 17 # Rules to configure and make the package.
erjo@3058 18 compile_rules()
erjo@3058 19 {
erjo@3058 20 cd $src
erjo@3058 21 ./configure --prefix=/usr \
erjo@3058 22 --with-chroot-dir=/var/lib/darkstat
erjo@3058 23
pascal@15579 24 make && make DESTDIR=$DESTDIR install
erjo@3058 25 }
erjo@3058 26
erjo@3058 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3058 28 genpkg_rules()
erjo@3058 29 {
erjo@3058 30 mkdir -p $fs/usr $fs/var/lib/darkstat
pascal@15579 31 cp -a $install/usr/sbin $fs/usr
erjo@3058 32 }
erjo@3058 33