wok annotate slitaz-i18n/receipt @ rev 9720
Fixed slitaz-i18n to use cook if it exists to make locale packages. If cook doesn't exist it will use tazwok.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 09 00:42:20 2011 +0000 (2011-05-09) |
parents | 86295c37fce3 |
children | 872ecb790c84 |
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@3087 | 5 CATEGORY="system-tools" |
paul@4858 | 6 SHORT_DESC="SliTaz internationalization meta package to build locale pack." |
pankso@3087 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8221 | 8 BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted \ |
gokhlayeh@8221 | 9 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm" |
pankso@3087 | 10 SUGGESTED="locale-de locale-es locale-fr locale-hu locale-pt" |
pankso@3087 | 11 WEB_SITE="http://www.slitaz.org/" |
pankso@3087 | 12 |
pankso@3087 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 14 genpkg_rules() |
pankso@3087 | 15 { |
pankso@3087 | 16 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 17 . $stuff/locale-pack.conf |
pankso@6788 | 18 for i in $LOCALE_PACK |
pankso@6788 | 19 do |
slaxemulator@9720 | 20 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 21 cook locale-$i |
slaxemulator@9720 | 22 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 23 tazwok cook locale-$i |
slaxemulator@9720 | 24 fi |
pankso@6788 | 25 done |
pankso@3087 | 26 cat > $fs/usr/share/doc/slitaz/i18n.txt << _EOT_ |
pankso@4855 | 27 SliTaz i18n information |
pankso@3087 | 28 ================================================================================ |
pankso@3087 | 29 |
paul@4858 | 30 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 31 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 32 configure the system language. |
pankso@4855 | 33 |
pankso@3087 | 34 |
paul@4858 | 35 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 36 ---- |
pankso@3087 | 37 $CORE_PKGS |
pankso@3087 | 38 ---- |
pankso@3087 | 39 |
paul@4858 | 40 SliTaz i18n project coordination is done on the Labs: |
pankso@3087 | 41 |
pankso@3087 | 42 http://labs.slitaz.org/wiki/i18n |
pankso@3087 | 43 |
pankso@3087 | 44 |
pankso@3087 | 45 ================================================================================ |
pankso@3087 | 46 _EOT_ |
pankso@3087 | 47 } |