wok view pktstat/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | b569b85b0fb9 |
children | ea7c7014b421 |
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="https://github.com/dleonard0/pktstat/archive/v$TARBALL.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 }