wok annotate slitaz-i18n/receipt @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
parents | 874b0d62ff7e |
children | eb8067417980 |
rev | line source |
---|---|
pankso@3087 | 1 # SliTaz package receipt |
pankso@3087 | 2 |
pankso@3087 | 3 PACKAGE="slitaz-i18n" |
al@14908 | 4 VERSION="4.1" |
pankso@10751 | 5 CATEGORY="meta" |
paul@4858 | 6 SHORT_DESC="SliTaz internationalization meta package to build locale pack." |
pankso@3087 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@10751 | 8 WEB_SITE="http://www.slitaz.org/" |
pankso@10751 | 9 |
pankso@10751 | 10 # Bdeps ensure packages are built so we can get generated po files. |
al@14225 | 11 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \ |
al@14908 | 12 epdfview galculator gcc-lib-base gcolor2 gdk-pixbuf glib glibc-base \ |
al@14908 | 13 gparted gtk+ isomaster kbd leafpad libwebkit lostirc lxappearance lxpanel \ |
al@14225 | 14 lxrandr lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted \ |
al@14908 | 15 spacefm popt retawq sakura transmission viewnior yad lxsession lxsession-edit \ |
al@14909 | 16 lxinput slitaz-configs" |
pankso@3087 | 17 |
pankso@3087 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 19 genpkg_rules() |
pankso@3087 | 20 { |
pankso@3087 | 21 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 22 . $stuff/locale-pack.conf |
pankso@10751 | 23 for p in $CORE_PKGS |
pankso@10751 | 24 do |
gokhlayeh@11390 | 25 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 26 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 27 cook $p |
gokhlayeh@11390 | 28 else |
gokhlayeh@11390 | 29 tazwok cook $p |
gokhlayeh@11390 | 30 fi |
gokhlayeh@11390 | 31 fi |
pankso@10751 | 32 done |
pankso@10751 | 33 # Cook all locale pack. |
pankso@6788 | 34 for i in $LOCALE_PACK |
pankso@6788 | 35 do |
slaxemulator@9720 | 36 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 37 cook locale-$i |
slaxemulator@9720 | 38 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 39 tazwok cook locale-$i |
slaxemulator@9720 | 40 fi |
pankso@6788 | 41 done |
pankso@10783 | 42 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
pankso@4855 | 43 SliTaz i18n information |
pankso@3087 | 44 ================================================================================ |
pankso@3087 | 45 |
paul@4858 | 46 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 47 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 48 configure the system language. |
pankso@4855 | 49 |
pankso@3087 | 50 |
paul@4858 | 51 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 52 ---- |
pankso@3087 | 53 $CORE_PKGS |
pankso@3087 | 54 ---- |
pankso@3087 | 55 |
pankso@10751 | 56 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 57 |
pankso@10751 | 58 http://www.slitaz.org/i18n.php |
pankso@3087 | 59 |
pankso@3087 | 60 |
pankso@3087 | 61 ================================================================================ |
pankso@10783 | 62 EOT |
pankso@3087 | 63 } |