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