wok view iptstate/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 09929daf27a0
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/lncurses/& -ltinfo/' Makefile
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin
35 cp -a $src/$PACKAGE $fs/usr/sbin
36 }