wok-6.x view bmon/receipt @ rev 17513

Add bmon
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 12 17:38:57 2015 +0100 (2015-01-12)
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 }