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

updated stunnel (5.50 -> 5.55)
author Hans-G?nter Theisgen
date Fri Oct 11 17:49:32 2019 +0100 (2019-10-11)
parents eb8067417980
children 822b3b44b544
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"
pascal@20671 10 WEB_SITE="https://unix4lyfe.org/darkstat/"
pascal@20671 11 WGET_URL="https://unix4lyfe.org/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