wok view iptstate/receipt @ rev 24333
updated autoconf (2.69 -> 2.71)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 28 08:53:07 2022 +0100 (2022-01-28) |
parents | 7b1d7af13c71 |
children | 09929daf27a0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptstate"
4 VERSION="2.2.6"
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 }