wok view darkstat/receipt @ rev 24156
updated cmake (3.15.5 -> 3.22.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 08 09:15:20 2021 +0100 (2021-12-08) |
parents | 6e8b1bcb30e2 |
children | bfabe25c21ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="darkstat"
4 VERSION="3.0.719"
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.bz2"
13 WGET_URL="https://unix4lyfe.org/darkstat/$TARBALL"
15 DEPENDS="libpcap zlib"
16 BUILD_DEPENDS="libpcap-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # 3.0.719 unrecognised
22 # --with-chroot-dir=/var/lib/darkstat
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/var/lib/darkstat
37 cp -a $install/usr/sbin $fs/usr
38 }