wok view slitaz-i18n/receipt @ rev 17763
slitaz-i18n: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 12 08:42:55 2015 +0100 (2015-03-12) |
parents | cea5a9fa7152 |
children | ec332cdcdbc1 |
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/"
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 mkdir -p $fs/usr/share/doc/slitaz
30 . $stuff/locale-pack.conf
31 for p in $CORE_PKGS
32 do
33 if [ ! -d "$WOK/$p/install" ]; then
34 if [ -x /usr/bin/cook ]; then
35 cook $p
36 else
37 tazwok cook $p
38 fi
39 fi
40 done
41 # Cook all locale pack.
42 for i in $LOCALE_PACK
43 do
44 if [ -x /usr/bin/cook ]; then
45 cook locale-$i
46 elif [ -x /usr/bin/tazwok ]; then
47 tazwok cook locale-$i
48 fi
49 done
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 }