wok-current view bmon/receipt @ rev 19067
again
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:40:20 2016 -0300 (2016-04-21) |
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 }