wok-next annotate bmon/receipt @ rev 20024

Up tesseract-ocr (3.05.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 12:39:31 2017 +0200 (2017-10-22)
parents 49fdfc98a5c3
children 60379759ac53
rev   line source
pascal@17513 1 # SliTaz package receipt.
pascal@17513 2
pascal@17513 3 PACKAGE="bmon"
pascal@17513 4 VERSION="3.6"
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 }