wok-current view darkstat/receipt @ rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="darkstat"
4 VERSION="3.0.721"
5 CATEGORY="network"
6 TAGS="network monitor stats statistics"
7 SHORT_DESC="Simple network traffic statistics."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2 BSD"
10 WEB_SITE="https://unix4lyfe.org/darkstat/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/emikulic/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
15 DEPENDS="libpcap zlib"
16 BUILD_DEPENDS="autoconf libpcap-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/emikulic/darkstat/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 3.0.719 unrecognised
29 # --with-chroot-dir=/var/lib/darkstat
31 autoconf &&
32 autoheader &&
33 ./configure \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/var/lib/darkstat
45 cook_copy_folders sbin
46 }