wok view bmon/receipt @ rev 25502
Up memtest-efi* (6.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 15 09:58:15 2023 +0000 (22 months ago) |
parents | da2364efb6fb |
children | 343c093ad221 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bmon"
4 VERSION="4.0"
5 CATEGORY="network"
6 SHORT_DESC="bandwidth monitor and rate estimator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/tgraf/bmon"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="libnl ncursesw"
15 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh
27 ./configure --prefix=/usr \
28 --sysconfdir=/etc \
29 --with-ncursesw \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs/etc
39 cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc
40 cp -a $install/usr/bin $fs/usr
41 }