wok annotate slitaz-i18n/receipt @ rev 10794

lostirc: use irc.freenode.net for slitaz IRC chan
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 03 03:13:13 2011 +0200 (2011-06-03)
parents 872ecb790c84
children b502c06450bc
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@10783 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@10783 52 EOT
pankso@3087 53 }