wok view bmon/receipt @ rev 20762
Fix cairo & cadaver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 13 10:43:31 2019 +0100 (2019-02-13) |
parents | 49fdfc98a5c3 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
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 DEPENDS="libnl ncursesw"
15 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --with-ncursesw \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc
34 cp -a $install/usr/bin $fs/usr
35 }