wok view tar-lang/receipt @ rev 22006

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