wok annotate 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
rev   line source
paul@17102 1 # SliTaz package receipt.
paul@17102 2
paul@17102 3 PACKAGE="iptstate"
Hans-G?nter@24676 4 VERSION="2.2.7"
paul@17102 5 CATEGORY="network"
al@20422 6 SHORT_DESC="IPTState is a top-like interface to your netfilter connection-tracking table."
paul@17102 7 MAINTAINER="paul@slitaz.org"
pascal@17216 8 LICENSE="zlib/libpng"
Hans-G?nter@21060 9 WEB_SITE="https://www.phildev.net/iptstate/"
Hans-G?nter@21060 10
paul@17102 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21060 12 WGET_URL="https://github.com/jaymzh/$PACKAGE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@21060 13
Hans-G?nter@21060 14 DEPENDS="iptables libnetfilter_conntrack libnfnetlink ncurses"
Hans-G?nter@21060 15 BUILD_DEPENDS="libnetfilter_conntrack-dev libnfnetlink-dev ncurses-dev"
paul@17102 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@17102 23 # Rules to configure and make the package.
paul@17102 24 compile_rules()
paul@17102 25 {
Hans-G?nter@24676 26 sed -i 's/lncurses/& -ltinfo/' Makefile
Hans-G?nter@24676 27 make
paul@17102 28 }
paul@17102 29
paul@17102 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17102 31 genpkg_rules()
paul@17102 32 {
paul@17102 33 mkdir -p $fs/usr/sbin
Hans-G?nter@24676 34 cp -a $src/$PACKAGE $fs/usr/sbin
paul@17102 35 }