wok-current annotate bmon/receipt @ rev 18273

Up lemon (3.8.11.1), libgnutls (3.3.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 07 12:15:29 2015 +0200 (2015-08-07)
parents
children da2364efb6fb
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@17513 13 DEPENDS="libnl ncursesw"
pascal@17513 14 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-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 }