wok-current annotate slitaz-i18n/receipt @ rev 14875
Up: python-django (1.5.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Jul 23 19:28:00 2013 -0300 (2013-07-23) |
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 } |