wok-current annotate nbwmon/receipt @ rev 24399

updated ccid (1.4.31 -> 1.5.0)
author Hans-G?nter Theisgen
date Tue Feb 08 14:40:28 2022 +0100 (2022-02-08)
parents fcbbdcfa7ed0
children
rev   line source
paul@17165 1 # SliTaz package receipt.
paul@17165 2
paul@17165 3 PACKAGE="nbwmon"
Hans-G?nter@21523 4 VERSION="0.5.2"
paul@17165 5 CATEGORY="network"
paul@17165 6 SHORT_DESC="Ncurses bandwidth monitor."
paul@17165 7 MAINTAINER="paul@slitaz.org"
paul@17165 8 LICENSE="MIT"
Hans-G?nter@21523 9 WEB_SITE="https://github.com/causes-/nbwmon"
Hans-G?nter@21523 10
Hans-G?nter@21523 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21523 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
paul@17165 13
paul@17165 14 DEPENDS="ncurses"
Hans-G?nter@21523 15 BUILD_DEPENDS="ncurses-dev"
paul@17165 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@17165 23 # Rules to configure and make the package.
paul@17165 24 compile_rules()
paul@17165 25 {
pascal@17672 26 export LDFLAGS="$LDFLAGS -ltinfo"
paul@17165 27 make
paul@17165 28 }
paul@17165 29
paul@17165 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17165 31 genpkg_rules()
paul@17165 32 {
paul@17165 33 mkdir -p $fs/usr/bin
paul@17165 34 cp -a $src/$PACKAGE $fs/usr/bin
paul@17165 35 }