wok annotate bmon/receipt @ rev 21577

qbittorrent: try gcc83
author Hans-G?nter Theisgen
date Sun May 19 15:28:18 2019 +0100 (2019-05-19)
parents 49fdfc98a5c3
children 5ea0ce1cecc0
rev   line source
pascal@17513 1 # SliTaz package receipt.
pascal@17513 2
pascal@17513 3 PACKAGE="bmon"
Hans-G?nter@20752 4 VERSION="4.0"
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"
Hans-G?nter@20752 9 WEB_SITE="https://github.com/tgraf/bmon"
Hans-G?nter@20752 10
pascal@17513 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17513 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@17513 13
pascal@17513 14 DEPENDS="libnl ncursesw"
pascal@17513 15 BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-dev"
pascal@17513 16
pascal@17513 17 # Rules to configure and make the package.
pascal@17513 18 compile_rules()
pascal@17513 19 {
pascal@17513 20 ./autogen.sh
pascal@17513 21 ./configure --prefix=/usr \
pascal@17513 22 --sysconfdir=/etc \
Hans-G?nter@20752 23 --with-ncursesw \
pascal@17513 24 $CONFIGURE_ARGS &&
pascal@17513 25 make &&
pascal@17513 26 make DESTDIR=$DESTDIR install
pascal@17513 27 }
pascal@17513 28
pascal@17513 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17513 30 genpkg_rules()
pascal@17513 31 {
pascal@17513 32 mkdir -p $fs/usr $fs/etc
pascal@17513 33 cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc
pascal@17513 34 cp -a $install/usr/bin $fs/usr
pascal@17513 35 }