wok-6.x annotate nethogs/receipt @ rev 23848
inkscape: update build_depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Jun 14 23:18:03 2020 -0400 (2020-06-14) |
parents | e6a4cd87fdcb |
children | 5ea0ce1cecc0 |
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 |
paul@4626 | 18 # Rules to configure and make the package. |
paul@4626 | 19 compile_rules() |
paul@4626 | 20 { |
Hans-G?nter@23235 | 21 # sed -i 's|lncurses|& -ltinfo|' Makefile |
Hans-G?nter@23235 | 22 export LDFLAGS="$LDFLAGS -lncursesw" |
Hans-G?nter@23235 | 23 |
paul@4626 | 24 make |
paul@4626 | 25 } |
paul@4626 | 26 |
paul@4626 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4626 | 28 genpkg_rules() |
paul@4626 | 29 { |
paul@4626 | 30 mkdir -p $fs/usr/sbin |
Hans-G?nter@23235 | 31 cp $src/src/nethogs $fs/usr/sbin |
paul@4626 | 32 } |