wok-current view pktstat/receipt @ rev 25296

updated screenfetch (3.5.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jul 19 17:51:41 2022 +0100 (2022-07-19)
parents 1805f71c5d9f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pktstat"
4 VERSION="1.8.5"
5 CATEGORY="network"
6 SHORT_DESC="Real-time interface traffic viewer for ncurses."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/dleonard0/pktstat"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="ncurses libpcap"
14 BUILD_DEPENDS="ncurses-dev libpcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }