wok-6.x view 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 |
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 }