wok-current view slitaz-i18n/receipt @ rev 25629

Mass updates for current
author Stanislas Leduc <shann@slitaz.org>
date Wed Oct 11 18:45:46 2023 +0000 (8 months ago)
parents fdecffdbd77d
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="161124"
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 webkitgtk lxappearance lxinput lxpanel lxrandr lxsession \
17 lxsession-edit lxtask mhwaveedit midori mtpaint nano parted \
18 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
19 vorbis-tools vte xorg-xkeyboard-config yad-gtk2 tzdata"
20 # exclude obconf openbox to avoid loop with slitaz-configs
22 # Handle slitaz arch: /etc/slitaz/slitaz.conf
23 case "$SLITAZ_ARCH" in
24 arm*) BUILD_DEPENDS="" ;;
25 esac
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 # Allow to build the packages who want me...
31 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
33 mkdir -p $fs/usr/share/doc/slitaz
34 . $stuff/locale-pack.conf
35 for p in $CORE_PKGS; do
36 [ ! -d "$WOK/$p/install" ] && cook $p
37 done
39 # Cook all locale-* packages
40 for i in $LOCALE_PACK; do
41 [ -d "$WOK/locale-$i" ] && cook locale-$i
42 done
44 # Recook tzdata package: we move files from tzdata to locale-* packages
45 cook tzdata
47 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
48 SliTaz i18n information
49 ================================================================================
51 This package provides the necessary functions and configs for the SliTaz locale
52 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
53 configure the system language.
56 Translated packages files included in the core languages pack (from upstream):
57 ----
58 $(echo $CORE_PKGS | fold -s)
59 ----
61 SliTaz i18n project coordination is done on the SCN and doc is on the website:
63 http://www.slitaz.org/i18n.php
66 ================================================================================
67 EOT
68 }