wok-6.x annotate slitaz-i18n/receipt @ rev 12563
Up wireshark (1.6.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 18:48:15 2012 +0200 (2012-04-28) |
parents | a4bc0aff568e |
children | 66feb7f9e198 |
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@11390 | 11 BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted nano \ |
gokhlayeh@11390 | 12 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm midori mtpaint \ |
gokhlayeh@11390 | 13 mhwaveedit lostirc" |
pankso@3087 | 14 |
pankso@3087 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 16 genpkg_rules() |
pankso@3087 | 17 { |
pankso@3087 | 18 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 19 . $stuff/locale-pack.conf |
pankso@10751 | 20 for p in $CORE_PKGS |
pankso@10751 | 21 do |
gokhlayeh@11390 | 22 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 23 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 24 cook $p |
gokhlayeh@11390 | 25 else |
gokhlayeh@11390 | 26 tazwok cook $p |
gokhlayeh@11390 | 27 fi |
gokhlayeh@11390 | 28 fi |
pankso@10751 | 29 done |
pankso@10751 | 30 # Cook all locale pack. |
pankso@6788 | 31 for i in $LOCALE_PACK |
pankso@6788 | 32 do |
slaxemulator@9720 | 33 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 34 cook locale-$i |
slaxemulator@9720 | 35 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 36 tazwok cook locale-$i |
slaxemulator@9720 | 37 fi |
pankso@6788 | 38 done |
pankso@10783 | 39 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
pankso@4855 | 40 SliTaz i18n information |
pankso@3087 | 41 ================================================================================ |
pankso@3087 | 42 |
paul@4858 | 43 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 44 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 45 configure the system language. |
pankso@4855 | 46 |
pankso@3087 | 47 |
paul@4858 | 48 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 49 ---- |
pankso@3087 | 50 $CORE_PKGS |
pankso@3087 | 51 ---- |
pankso@3087 | 52 |
pankso@10751 | 53 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 54 |
pankso@10751 | 55 http://www.slitaz.org/i18n.php |
pankso@3087 | 56 |
pankso@3087 | 57 |
pankso@3087 | 58 ================================================================================ |
pankso@10783 | 59 EOT |
pankso@3087 | 60 } |