wok diff bmon/receipt @ rev 20397
Up tklauncher (0.32)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 26 20:54:55 2018 +0200 (2018-06-26) |
parents | |
children | da2364efb6fb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bmon/receipt Tue Jun 26 20:54:55 2018 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bmon" 1.7 +VERSION="3.6" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="bandwidth monitor and rate estimator" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/tgraf/bmon" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="libnl ncursesw" 1.17 +BUILD_DEPENDS="wget autoconf automake libconfuse glib libnl-dev ncursesw-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./autogen.sh 1.23 + ./configure --prefix=/usr \ 1.24 + --sysconfdir=/etc \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr $fs/etc 1.34 + cp -a $install/usr/share/doc/bmon/examples/bmon.conf $fs/etc 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +}