wok annotate bmon/receipt @ rev 19452
Up fasm (1.71.57)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 20 16:31:20 2016 +0200 (2016-10-20) |
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 } |