wok view iptstate/receipt @ rev 25494

Add finch & btop (thanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 30 08:50:05 2022 +0000 (23 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="iptstate"
4 VERSION="2.2.7"
5 CATEGORY="network"
6 SHORT_DESC="IPTState is a top-like interface to your netfilter connection-tracking table."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://www.phildev.net/iptstate/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/jaymzh/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="iptables libnetfilter_conntrack libnfnetlink ncurses"
15 BUILD_DEPENDS="libnetfilter_conntrack-dev libnfnetlink-dev ncurses-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's/lncurses/& -ltinfo/' Makefile
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 cp -a $src/$PACKAGE $fs/usr/sbin
35 }