wok annotate slitaz-i18n/receipt @ rev 14636
Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:09:39 2013 +0000 (2013-06-02) |
parents | b502c06450bc |
children | 874b0d62ff7e |
rev | line source |
---|---|
pankso@3087 | 1 # SliTaz package receipt |
pankso@3087 | 2 |
pankso@3087 | 3 PACKAGE="slitaz-i18n" |
pankso@6788 | 4 VERSION="4.0" |
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@14225 | 12 epdfview galculator gcc-lib-base gcolor2 gdk-pixbuf gettext-base glib glibc-base \ |
al@14225 | 13 gparted gtk+ isomaster kbd-base leafpad libwebkit lostirc lxappearance lxpanel \ |
al@14225 | 14 lxrandr lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted \ |
al@14225 | 15 pcmanfm popt retawq sakura transmission viewnior yad" |
pankso@3087 | 16 |
pankso@3087 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 18 genpkg_rules() |
pankso@3087 | 19 { |
pankso@3087 | 20 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 21 . $stuff/locale-pack.conf |
pankso@10751 | 22 for p in $CORE_PKGS |
pankso@10751 | 23 do |
gokhlayeh@11390 | 24 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 25 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 26 cook $p |
gokhlayeh@11390 | 27 else |
gokhlayeh@11390 | 28 tazwok cook $p |
gokhlayeh@11390 | 29 fi |
gokhlayeh@11390 | 30 fi |
pankso@10751 | 31 done |
pankso@10751 | 32 # Cook all locale pack. |
pankso@6788 | 33 for i in $LOCALE_PACK |
pankso@6788 | 34 do |
slaxemulator@9720 | 35 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 36 cook locale-$i |
slaxemulator@9720 | 37 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 38 tazwok cook locale-$i |
slaxemulator@9720 | 39 fi |
pankso@6788 | 40 done |
pankso@10783 | 41 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
pankso@4855 | 42 SliTaz i18n information |
pankso@3087 | 43 ================================================================================ |
pankso@3087 | 44 |
paul@4858 | 45 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 46 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 47 configure the system language. |
pankso@4855 | 48 |
pankso@3087 | 49 |
paul@4858 | 50 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 51 ---- |
pankso@3087 | 52 $CORE_PKGS |
pankso@3087 | 53 ---- |
pankso@3087 | 54 |
pankso@10751 | 55 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 56 |
pankso@10751 | 57 http://www.slitaz.org/i18n.php |
pankso@3087 | 58 |
pankso@3087 | 59 |
pankso@3087 | 60 ================================================================================ |
pankso@10783 | 61 EOT |
pankso@3087 | 62 } |