wok-6.x view bmon/receipt @ rev 17745
Up discount (2.1.8)
author | necrophcodr <necrophcodr@necrophcodr.me> |
---|---|
date | Sat Mar 07 18:27:26 2015 +0000 (2015-03-07) |
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 }