wok-current view nbwmon/receipt @ rev 21762

Up busybox (1.31.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 27 13:32:09 2019 +0200 (2019-06-27)
parents 3ba8d2c9720d
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="nbwmon"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses bandwidth monitor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/causes-/nbwmon"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/$PACKAGE $fs/usr/bin
29 }