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