wok-next annotate bmon/receipt @ rev 20333

Up bmpanel2, urxvt, usbip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 16:27:09 2017 +0200 (2017-11-15)
parents 6c12ac1293fc
children 757d032c55c7
rev   line source
pascal@17513 1 # SliTaz package receipt.
pascal@17513 2
pascal@17513 3 PACKAGE="bmon"
pascal@20038 4 VERSION="4.0"
pascal@17513 5 CATEGORY="network"
pascal@17513 6 SHORT_DESC="bandwidth monitor and rate estimator"
pascal@17513 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17513 8 LICENSE="MIT"
pascal@17513 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17513 10 WEB_SITE="https://github.com/tgraf/bmon"
pascal@17513 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@17513 12
pascal@19952 13 DEPENDS="libnl ncurses"
pascal@19952 14 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncurses-dev"
pascal@17513 15
pascal@17513 16 # Rules to configure and make the package.
pascal@17513 17 compile_rules()
pascal@17513 18 {
pascal@17513 19 ./autogen.sh
pascal@17513 20 ./configure --prefix=/usr \
pascal@17513 21 --sysconfdir=/etc \
pascal@17513 22 $CONFIGURE_ARGS &&
pascal@17513 23 make &&
pascal@17513 24 make DESTDIR=$DESTDIR install
pascal@17513 25 }
pascal@17513 26
pascal@17513 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17513 28 genpkg_rules()
pascal@17513 29 {
pascal@17513 30 mkdir -p $fs/usr $fs/etc
pascal@17513 31 cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc
pascal@17513 32 cp -a $install/usr/bin $fs/usr
pascal@17513 33 }