wok view slitaz-i18n/receipt @ rev 11612

nanochess: catch ?black arg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 15:34:54 2012 +0100 (2012-01-21)
parents a4bc0aff568e
children 66feb7f9e198
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="4.0"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz internationalization meta package to build locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
10 # Bdeps ensure packages are built so we can get generated po files.
11 BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted nano \
12 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm midori mtpaint \
13 mhwaveedit lostirc"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/doc/slitaz
19 . $stuff/locale-pack.conf
20 for p in $CORE_PKGS
21 do
22 if [ ! -d "$WOK/$p/install" ]; then
23 if [ -x /usr/bin/cook ]; then
24 cook $p
25 else
26 tazwok cook $p
27 fi
28 fi
29 done
30 # Cook all locale pack.
31 for i in $LOCALE_PACK
32 do
33 if [ -x /usr/bin/cook ]; then
34 cook locale-$i
35 elif [ -x /usr/bin/tazwok ]; then
36 tazwok cook locale-$i
37 fi
38 done
39 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
40 SliTaz i18n information
41 ================================================================================
43 This package provides the necessary functions and configs for the SliTaz locale
44 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
45 configure the system language.
48 Translated packages files included in the core languages pack (from upstream):
49 ----
50 $CORE_PKGS
51 ----
53 SliTaz i18n project coordination is done on the SCN and doc is on the website:
55 http://www.slitaz.org/i18n.php
58 ================================================================================
59 EOT
60 }