wok view iptstate/receipt @ rev 24097

Up hplip (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 17:18:37 2021 +0000 (2021-09-13)
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 }