wok-6.x annotate tar-lang/receipt @ rev 24297

updated swig (4.0.1 -> 4.0.2)
author Hans-G?nter Theisgen
date Sat Jan 15 13:48:03 2022 +0100 (2022-01-15)
parents 0fd02e4c6b02
children 6e072873c163
rev   line source
Hans-G?nter@22004 1 # SliTaz package receipt.
Hans-G?nter@22004 2
Hans-G?nter@22004 3 PACKAGE="tar-lang"
Hans-G?nter@22004 4 VERSION="1.32"
Hans-G?nter@22004 5 CATEGORY="utilities"
Hans-G?nter@22004 6 TAGS="archive compression"
Hans-G?nter@22004 7 SHORT_DESC="GNU tar archiving tools - localised messages."
Hans-G?nter@22004 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@22004 9 LICENSE="GPL3"
Hans-G?nter@22004 10 WEB_SITE="https://www.gnu.org/software/tar/"
Hans-G?nter@22004 11
Hans-G?nter@22004 12 WANTED="tar"
Hans-G?nter@22004 13
Hans-G?nter@22004 14 HOST_ARCH="any"
Hans-G?nter@22004 15
Hans-G?nter@22004 16 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22004 17 genpkg_rules()
Hans-G?nter@22004 18 {
Hans-G?nter@22004 19 # Set list of wanted locales in LOCALE_PACK
Hans-G?nter@22004 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22004 21
Hans-G?nter@22004 22 # Copy message file in wanted languages, if available
Hans-G?nter@22004 23 for locale in $LOCALE_PACK
Hans-G?nter@22004 24 do
Hans-G?nter@22006 25 [ -d $install/usr/share/locale/$locale ] || continue
Hans-G?nter@22004 26 mkdir -p $fs/usr/share/locale
Hans-G?nter@22004 27 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
Hans-G?nter@22004 28 done
Hans-G?nter@22004 29 }