wok annotate nethogs/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 4e6875d4e582
children 7364ffdaaa60
rev   line source
paul@4626 1 # SliTaz package receipt.
paul@4626 2
paul@4626 3 PACKAGE="nethogs"
Hans-G?nter@23235 4 VERSION="0.8.5"
paul@4626 5 CATEGORY="network"
Hans-G?nter@23235 6 TAGS="network"
paul@4626 7 SHORT_DESC="Small 'net top' tool."
paul@4626 8 MAINTAINER="paul@slitaz.org"
pascal@15601 9 LICENSE="GPL"
Hans-G?nter@23235 10 WEB_SITE="https://github.com/raboof/nethogs"
Hans-G?nter@23235 11
paul@4626 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23235 13 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
paul@4626 14
Hans-G?nter@23235 15 DEPENDS="gcc-lib-base libpcap ncursesw"
Hans-G?nter@23235 16 BUILD_DEPENDS="libpcap libpcap-dev ncursesw-dev"
pascal@15601 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
paul@4626 24 # Rules to configure and make the package.
paul@4626 25 compile_rules()
paul@4626 26 {
Hans-G?nter@23235 27 # sed -i 's|lncurses|& -ltinfo|' Makefile
Hans-G?nter@23235 28 export LDFLAGS="$LDFLAGS -lncursesw"
Hans-G?nter@23235 29
paul@4626 30 make
paul@4626 31 }
paul@4626 32
paul@4626 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4626 34 genpkg_rules()
paul@4626 35 {
paul@4626 36 mkdir -p $fs/usr/sbin
Hans-G?nter@23235 37 cp $src/src/nethogs $fs/usr/sbin
paul@4626 38 }