wok annotate ufw/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (8 days ago) |
parents | 1bd2c6414e5a |
children |
rev | line source |
---|---|
pascal@18891 | 1 # SliTaz package receipt. |
pascal@18891 | 2 |
pascal@18891 | 3 PACKAGE="ufw" |
Hans-G?nter@25378 | 4 VERSION="0.36.1" |
pascal@18891 | 5 CATEGORY="security" |
Hans-G?nter@22072 | 6 TAGS="firewall" |
Hans-G?nter@22072 | 7 SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter." |
pascal@18891 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18891 | 9 LICENSE="GPL3" |
Hans-G?nter@22072 | 10 WEB_SITE="https://launchpad.net/ufw" |
Hans-G?nter@22072 | 11 |
pascal@18891 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25378 | 13 WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" |
pascal@18891 | 14 |
Hans-G?nter@25378 | 15 SUGGESTED="ufw-lang" |
Hans-G?nter@25378 | 16 DEPENDS="iptables python" |
Hans-G?nter@25378 | 17 BUILD_DEPENDS="iptables python" |
pascal@18891 | 18 |
pascal@24434 | 19 # What is the latest version available today? |
pascal@24434 | 20 current_version() |
pascal@24434 | 21 { |
pascal@24434 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 23 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 24 } |
pascal@24434 | 25 |
pascal@18891 | 26 # Rules to configure and make the package. |
pascal@18891 | 27 compile_rules() |
pascal@18891 | 28 { |
Hans-G?nter@25378 | 29 python setup.py build && |
pascal@18891 | 30 python setup.py install --root=$DESTDIR |
pascal@18891 | 31 } |
pascal@18891 | 32 |
pascal@18891 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18891 | 34 genpkg_rules() |
pascal@18891 | 35 { |
Hans-G?nter@25378 | 36 cook_copy_folders etc |
Hans-G?nter@25378 | 37 cook_copy_folders iptables |
Hans-G?nter@25378 | 38 cook_copy_folders lib |
Hans-G?nter@25378 | 39 cook_copy_folders sbin |
pascal@18891 | 40 } |