wok annotate slitaz-i18n/receipt @ rev 10751
Add slitaz-i18n-extra and first step with locale-fr-extra
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 19:03:21 2011 +0200 (2011-05-30) |
parents | a3ab9cbedbc7 |
children | a4bc0aff568e |
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. |
gokhlayeh@8221 | 11 BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted \ |
gokhlayeh@8221 | 12 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm" |
pankso@3087 | 13 |
pankso@3087 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 15 genpkg_rules() |
pankso@3087 | 16 { |
pankso@3087 | 17 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 18 . $stuff/locale-pack.conf |
pankso@10751 | 19 for p in $CORE_PKGS |
pankso@10751 | 20 do |
pankso@10751 | 21 [ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p" |
pankso@10751 | 22 done |
pankso@10751 | 23 # Cook all locale pack. |
pankso@6788 | 24 for i in $LOCALE_PACK |
pankso@6788 | 25 do |
slaxemulator@9720 | 26 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 27 cook locale-$i |
slaxemulator@9720 | 28 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 29 tazwok cook locale-$i |
slaxemulator@9720 | 30 fi |
pankso@6788 | 31 done |
pankso@3087 | 32 cat > $fs/usr/share/doc/slitaz/i18n.txt << _EOT_ |
pankso@4855 | 33 SliTaz i18n information |
pankso@3087 | 34 ================================================================================ |
pankso@3087 | 35 |
paul@4858 | 36 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 37 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 38 configure the system language. |
pankso@4855 | 39 |
pankso@3087 | 40 |
paul@4858 | 41 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 42 ---- |
pankso@3087 | 43 $CORE_PKGS |
pankso@3087 | 44 ---- |
pankso@3087 | 45 |
pankso@10751 | 46 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 47 |
pankso@10751 | 48 http://www.slitaz.org/i18n.php |
pankso@3087 | 49 |
pankso@3087 | 50 |
pankso@3087 | 51 ================================================================================ |
pankso@3087 | 52 _EOT_ |
pankso@3087 | 53 } |