wok-6.x view slitaz-i18n/receipt @ rev 19488

Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 12 13:09:26 2016 +0200 (2016-11-12)
parents 75f2bc86c03f
children 6233b4e665c8
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="5.0"
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/"
10 HOST_ARCH="i486 arm"
12 # Bdeps ensure packages are built so we can get generated po files.
13 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
14 elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \
15 gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \
16 libidn liblzma libwebkit lxappearance lxinput lxpanel lxrandr lxsession \
17 lxsession-edit lxtask mhwaveedit midori mtpaint nano obconf openbox parted \
18 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
19 vorbis-tools vte xorg-xkeyboard-config yad tzdata"
21 # Handle slitaz arch: /etc/slitaz/slitaz.conf
22 case "$SLITAZ_ARCH" in
23 arm*) BUILD_DEPENDS="" ;;
24 esac
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 # Allow to build the packages who want me...
30 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2> /dev/null || true
32 mkdir -p $fs/usr/share/doc/slitaz
33 . $stuff/locale-pack.conf
34 for p in $CORE_PKGS; do
35 if [ ! -d "$WOK/$p/install" ]; then
36 cook $p
37 fi
38 done
39 # Cook all locale pack.
40 for i in $LOCALE_PACK; do
41 cook locale-$i
42 done
43 # Recook tzdata package: we move files from tzdata to locale-* packages
44 cook tzdata
46 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
47 SliTaz i18n information
48 ================================================================================
50 This package provides the necessary functions and configs for the SliTaz locale
51 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
52 configure the system language.
55 Translated packages files included in the core languages pack (from upstream):
56 ----
57 $(echo $CORE_PKGS | fold -s)
58 ----
60 SliTaz i18n project coordination is done on the SCN and doc is on the website:
62 http://www.slitaz.org/i18n.php
65 ================================================================================
66 EOT
67 }