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

lzo needed from fsarchiver
author Hans-G?nter Theisgen
date Tue Feb 13 07:22:29 2024 +0100 (7 months ago)
parents a23978bfa665
children e3c1ec2c3e59
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 libwebkit webkitgtk lxappearance lxinput lxpanel lxrandr \
17 lxsession lxsession-edit lxtask mhwaveedit mtpaint nano obconf openbox \
18 parted pcmanfm polkit popt sakura-gtk2 shared-mime-info udisks2 \
19 util-linux-blkid vorbis-tools vte-gtk2 xorg-xkeyboard-config \
20 yad-gtk2 tzdata"
21 # exclude obconf openbox to avoid loop with slitaz-configs
22 # exclude midori, don't rebuild at time
25 # Handle slitaz arch: /etc/slitaz/slitaz.conf
26 case "$SLITAZ_ARCH" in
27 arm*) BUILD_DEPENDS="" ;;
28 esac
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 # Allow to build the packages who want me...
34 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
36 mkdir -p $fs/usr/share/doc/slitaz
37 . $stuff/locale-pack.conf
38 for p in $CORE_PKGS; do
39 [ ! -d "$WOK/$p/install" ] && cook $p
40 done
42 # Cook all locale-* packages
43 for i in $LOCALE_PACK; do
44 [ -d "$WOK/locale-$i" ] && cook locale-$i
45 done
47 # Recook tzdata package: we move files from tzdata to locale-* packages
48 cook tzdata
50 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
51 SliTaz i18n information
52 ================================================================================
54 This package provides the necessary functions and configs for the SliTaz locale
55 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
56 configure the system language.
59 Translated packages files included in the core languages pack (from upstream):
60 ----
61 $(echo $CORE_PKGS | fold -s)
62 ----
64 SliTaz i18n project coordination is done on the SCN and doc is on the website:
66 http://www.slitaz.org/i18n.php
69 ================================================================================
70 EOT
71 }