wok view bmon/receipt @ rev 20051

Up libetpan (1.8)
author Richard Dunbar <mojo@slitaz.org>
date Fri Sep 01 16:02:37 2017 -0400 (2017-09-01)
parents
children da2364efb6fb
line source
1 # SliTaz package receipt.
3 PACKAGE="bmon"
4 VERSION="3.6"
5 CATEGORY="network"
6 SHORT_DESC="bandwidth monitor and rate estimator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/tgraf/bmon"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="libnl ncursesw"
14 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./autogen.sh
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc
31 cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc
32 cp -a $install/usr/bin $fs/usr
33 }