wok annotate darkstat/receipt @ rev 21206

Add lbzip2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 20:47:35 2019 +0200 (2019-04-07)
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