wok annotate iptstate/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | 09929daf27a0 |
children | 54dc5622a785 |
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@25599 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25599 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
paul@17102 | 24 # Rules to configure and make the package. |
paul@17102 | 25 compile_rules() |
paul@17102 | 26 { |
Hans-G?nter@24676 | 27 sed -i 's/lncurses/& -ltinfo/' Makefile |
Hans-G?nter@24676 | 28 make |
paul@17102 | 29 } |
paul@17102 | 30 |
paul@17102 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17102 | 32 genpkg_rules() |
paul@17102 | 33 { |
paul@17102 | 34 mkdir -p $fs/usr/sbin |
Hans-G?nter@24676 | 35 cp -a $src/$PACKAGE $fs/usr/sbin |
paul@17102 | 36 } |