wok-next view slitaz-i18n-extra/receipt @ rev 21410
updated polkit (0.113 -> 0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 24 17:53:05 2020 +0100 (2020-04-24) |
parents | cd7906120828 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-i18n-extra"
4 VERSION="6.0"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz internationalization"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 # Bdeps ensure packages are built so we can get generated po files.
13 #BUILD_DEPENDS="gimp mplayer xine-ui abiword gnumeric sylpheed gftp geany"
15 SPLIT="locale-ar-extra locale-ca-extra locale-cs-extra locale-da-extra \
16 locale-de-extra locale-el-extra locale-es-extra locale-fr-extra \
17 locale-hu-extra locale-id-extra locale-it-extra locale-pl-extra \
18 locale-pt-extra locale-pt_BR-extra locale-ru-extra locale-sl-extra \
19 locale-sv-extra locale-zh_CN-extra locale-zh_TW-extra"
21 genpkg_rules() {
22 case $PACKAGE in
23 slitaz-i18n-extra)
24 . $stuff/locale-pack.conf
25 for p in $EXTRA_PKGS; do
26 [ -d "$WOK/$p/install" ] || echo "Missing in wok: $p"
27 done
28 CAT="meta|meta package to build extra locale pack"
29 ;;
30 *)
31 lang_code="$(echo $PACKAGE | cut -d- -f2)"
32 case $lang_code in
33 ar) l="Arabic";;
34 ca) l="Catalan";;
35 cs) l="Czech";;
36 da) l="Danish";;
37 de) l="German";;
38 el) l="Greek";;
39 es) l="Spanish";;
40 fr) l="French";;
41 hu) l="Hungarian";;
42 id) l="Indonesian";;
43 it) l="Italian";;
44 pl) l="Polish";;
45 pt) l="Portuguese";;
46 pt_BR) l="Brazilian Portuguese";;
47 ru) l="Russian";;
48 sl) l="Slovenian";;
49 sv) l="Swedish";;
50 zh_CN) l="Simplified Chinese";;
51 zh_TW) l="Traditional Chinese";;
52 esac
53 CAT="localization|extra $l locale pack"
54 DEPENDS="locale-$lang_code"
55 LOCALE="$lang_code"
56 . $stuff/locale-pack.functions
57 . $stuff/locale-pack.conf
58 mk_locale_dir
59 get_extra_messages
60 ;;
61 esac
62 }