wok view nbwmon/receipt @ rev 18294

Up dropbear (2015.68)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 12:30:36 2015 +0200 (2015-08-16)
parents 828d5fba0ff7
children fcbbdcfa7ed0
line source
1 # SliTaz package receipt.
3 PACKAGE="nbwmon"
4 VERSION="20140917"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses bandwidth monitor."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/defer-/nbwmon"
11 WGET_URL="git|git://github.com/defer-/nbwmon"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev git bzip2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/$PACKAGE $fs/usr/bin
28 }