wok view bmon/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (2022-06-09)
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 }