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

Update some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 14 16:56:01 2020 +0000 (2020-04-14)
parents 6e8b1bcb30e2
children bfabe25c21ff
rev   line source
erjo@3058 1 # SliTaz package receipt.
erjo@3058 2
erjo@3058 3 PACKAGE="darkstat"
Hans-G?nter@22629 4 VERSION="3.0.719"
pascal@3610 5 CATEGORY="network"
Hans-G?nter@22629 6 TAGS="network monitor stats statistics"
Hans-G?nter@22629 7 SHORT_DESC="Simple network traffic statistics."
erjo@3058 8 MAINTAINER="erjo@slitaz.org"
pascal@15579 9 LICENSE="GPL2 BSD"
Hans-G?nter@22629 10 WEB_SITE="https://unix4lyfe.org/darkstat/"
Hans-G?nter@22629 11
erjo@3058 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 13 WGET_URL="https://unix4lyfe.org/darkstat/$TARBALL"
erjo@3058 14
pascal@15579 15 DEPENDS="libpcap zlib"
pascal@15579 16 BUILD_DEPENDS="libpcap-dev zlib-dev"
pascal@15579 17
erjo@3058 18 # Rules to configure and make the package.
erjo@3058 19 compile_rules()
erjo@3058 20 {
Hans-G?nter@22629 21 # 3.0.719 unrecognised
Hans-G?nter@22629 22 # --with-chroot-dir=/var/lib/darkstat
Hans-G?nter@22629 23
Hans-G?nter@22629 24 ./configure \
Hans-G?nter@22629 25 --prefix=/usr \
Hans-G?nter@22629 26 $CONFIGURE_ARGS &&
Hans-G?nter@22629 27 make &&
Hans-G?nter@22629 28 make DESTDIR=$DESTDIR install
erjo@3058 29 }
erjo@3058 30
erjo@3058 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3058 32 genpkg_rules()
erjo@3058 33 {
Hans-G?nter@22629 34 mkdir -p $fs/usr
Hans-G?nter@22629 35 mkdir -p $fs/var/lib/darkstat
Hans-G?nter@22629 36
Hans-G?nter@22629 37 cp -a $install/usr/sbin $fs/usr
erjo@3058 38 }