wok-current annotate ufw-lang/receipt @ rev 25677
Remove lguest, linux-firmware
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 07 14:36:06 2024 +0000 (9 months ago) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@25378 | 1 # SliTaz package receipt. |
Hans-G?nter@25378 | 2 |
Hans-G?nter@25378 | 3 PACKAGE="ufw-lang" |
Hans-G?nter@25378 | 4 VERSION="0.36.1" |
Hans-G?nter@25378 | 5 CATEGORY="localization" |
Hans-G?nter@25378 | 6 SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter - localised messages." |
Hans-G?nter@25378 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@25378 | 8 LICENSE="GPL3" |
Hans-G?nter@25378 | 9 WEB_SITE="https://launchpad.net/ufw" |
Hans-G?nter@25378 | 10 |
Hans-G?nter@25378 | 11 WANTED="ufw" |
Hans-G?nter@25378 | 12 |
Hans-G?nter@25378 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@25378 | 14 genpkg_rules() |
Hans-G?nter@25378 | 15 { |
Hans-G?nter@25378 | 16 for msgfile in $(ls $install/usr/share/ufw/messages/*.mo) |
Hans-G?nter@25378 | 17 do |
Hans-G?nter@25378 | 18 lang=$(basename $msgfile) |
Hans-G?nter@25378 | 19 lang=${lang%.mo} |
Hans-G?nter@25378 | 20 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@25378 | 21 cp -a $msgfile \ |
Hans-G?nter@25378 | 22 $fs/usr/share/locale/$lang/LC_MESSAGES/ufw.mo |
Hans-G?nter@25378 | 23 done |
Hans-G?nter@25378 | 24 } |