wok-current view slitaz-i18n/receipt @ rev 25721
Update slitaz-i18n for gnumeric
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 18 11:25:19 2024 +0000 (5 months ago) |
parents | 3ad63c8fc2f9 |
children |
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 gnumeric gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls \
16 libgpg-error libidn liblzma libwebkit webkitgtk lxappearance lxinput lxpanel \
17 lxrandr lxsession lxsession-edit lxtask mhwaveedit mtpaint nano obconf openbox \
18 parted pcmanfm polkit popt sakura-gtk2 shared-mime-info udisks2 util-linux-blkid \
19 vorbis-tools vte-gtk2 xorg-xkeyboard-config yad-gtk2 tzdata"
20 # exclude obconf openbox to avoid loop with slitaz-configs
21 # exclude midori, don't rebuild at time
24 # Handle slitaz arch: /etc/slitaz/slitaz.conf
25 case "$SLITAZ_ARCH" in
26 arm*) BUILD_DEPENDS="" ;;
27 esac
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # Allow to build the packages who want me...
33 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
35 mkdir -p $fs/usr/share/doc/slitaz
36 . $stuff/locale-pack.conf
37 for p in $CORE_PKGS; do
38 [ ! -d "$WOK/$p/install" ] && cook $p
39 done
41 # Cook all locale-* packages
42 for i in $LOCALE_PACK; do
43 [ -d "$WOK/locale-$i" ] && cook locale-$i
44 done
46 # Recook tzdata package: we move files from tzdata to locale-* packages
47 cook tzdata
49 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
50 SliTaz i18n information
51 ================================================================================
53 This package provides the necessary functions and configs for the SliTaz locale
54 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
55 configure the system language.
58 Translated packages files included in the core languages pack (from upstream):
59 ----
60 $(echo $CORE_PKGS | fold -s)
61 ----
63 SliTaz i18n project coordination is done on the SCN and doc is on the website:
65 http://www.slitaz.org/i18n.php
68 ================================================================================
69 EOT
70 }