wok view slitaz-i18n/receipt @ rev 16591

slitaz-i18n: encodings are still used in translations and web pages, so add gconv modules to locale packages. Add: full set of locale-xx-extra. Up: all locale-xx, locale-xx-extra, slitaz-i18n, slitaz-i18n-extra (4.2). Up slitaz-tools, slitaz-tools-boxes (5.8.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 06 23:19:04 2014 +0300 (2014-05-06)
parents 92fe9ef9577e
children cea5a9fa7152
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="4.2"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz internationalization meta package to build locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 # Bdeps ensure packages are built so we can get generated po files.
12 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
13 elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \
14 gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \
15 libidn liblzma libwebkit lxappearance lxinput lxpanel lxrandr lxsession \
16 lxsession-edit lxtask mhwaveedit midori mtpaint nano obconf openbox parted \
17 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
18 vorbis-tools vte xorg-xkeyboard-config yad"
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/share/doc/slitaz
24 . $stuff/locale-pack.conf
25 for p in $CORE_PKGS
26 do
27 if [ ! -d "$WOK/$p/install" ]; then
28 if [ -x /usr/bin/cook ]; then
29 cook $p
30 else
31 tazwok cook $p
32 fi
33 fi
34 done
35 # Cook all locale pack.
36 for i in $LOCALE_PACK
37 do
38 if [ -x /usr/bin/cook ]; then
39 cook locale-$i
40 elif [ -x /usr/bin/tazwok ]; then
41 tazwok cook locale-$i
42 fi
43 done
44 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
45 SliTaz i18n information
46 ================================================================================
48 This package provides the necessary functions and configs for the SliTaz locale
49 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
50 configure the system language.
53 Translated packages files included in the core languages pack (from upstream):
54 ----
55 $(echo $CORE_PKGS | fold -s)
56 ----
58 SliTaz i18n project coordination is done on the SCN and doc is on the website:
60 http://www.slitaz.org/i18n.php
63 ================================================================================
64 EOT
65 }