wok view iptstate/receipt @ rev 25357
updated tintin++ (2.02.02 -> 2.02.20)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:59:00 2022 +0100 (2022-07-27) |
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 }