wok-next view slitaz-i18n/receipt @ rev 11262
Merge
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 21:05:41 2011 +0000 (2011-11-07) |
parents | 872ecb790c84 |
children | b502c06450bc |
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 \
12 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/doc/slitaz
18 . $stuff/locale-pack.conf
19 for p in $CORE_PKGS
20 do
21 [ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
22 done
23 # Cook all locale pack.
24 for i in $LOCALE_PACK
25 do
26 if [ -x /usr/bin/cook ]; then
27 cook locale-$i
28 elif [ -x /usr/bin/tazwok ]; then
29 tazwok cook locale-$i
30 fi
31 done
32 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
33 SliTaz i18n information
34 ================================================================================
36 This package provides the necessary functions and configs for the SliTaz locale
37 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
38 configure the system language.
41 Translated packages files included in the core languages pack (from upstream):
42 ----
43 $CORE_PKGS
44 ----
46 SliTaz i18n project coordination is done on the SCN and doc is on the website:
48 http://www.slitaz.org/i18n.php
51 ================================================================================
52 EOT
53 }