wok-6.x annotate nbwmon/receipt @ rev 20352
pinentry: try with newer gcc and specify build
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 13:10:46 2018 +0000 (2018-06-09) |
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 } |