wok-next view bmon/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | 60379759ac53 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncurses-dev"
16 compile_rules() {
17 ./autogen.sh
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install || return 1
22 mkdir -p $install/etc/
23 mv $install/usr/share/doc/bmon/examples/bmon.conf $install/etc/
24 }
26 genpkg_rules() {
27 copy @std
28 DEPENDS="libnl ncurses"
29 }