wok-6.x view nbwmon/receipt @ rev 18665

Up tazpkg(882)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 04 05:36:22 2015 +0200 (2015-12-04)
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 }