wok-current view slitaz-i18n/receipt @ rev 14415
emotion-dev: update deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 19:17:27 2013 +0200 (2013-04-23) |
parents | b502c06450bc |
children | 874b0d62ff7e |
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="4.0"
5 CATEGORY="meta"
6 SHORT_DESC="SliTaz internationalization meta package to build locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
10 # Bdeps ensure packages are built so we can get generated po files.
11 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
12 epdfview galculator gcc-lib-base gcolor2 gdk-pixbuf gettext-base glib glibc-base \
13 gparted gtk+ isomaster kbd-base leafpad libwebkit lostirc lxappearance lxpanel \
14 lxrandr lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted \
15 pcmanfm popt retawq sakura transmission viewnior yad"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share/doc/slitaz
21 . $stuff/locale-pack.conf
22 for p in $CORE_PKGS
23 do
24 if [ ! -d "$WOK/$p/install" ]; then
25 if [ -x /usr/bin/cook ]; then
26 cook $p
27 else
28 tazwok cook $p
29 fi
30 fi
31 done
32 # Cook all locale pack.
33 for i in $LOCALE_PACK
34 do
35 if [ -x /usr/bin/cook ]; then
36 cook locale-$i
37 elif [ -x /usr/bin/tazwok ]; then
38 tazwok cook locale-$i
39 fi
40 done
41 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
42 SliTaz i18n information
43 ================================================================================
45 This package provides the necessary functions and configs for the SliTaz locale
46 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
47 configure the system language.
50 Translated packages files included in the core languages pack (from upstream):
51 ----
52 $CORE_PKGS
53 ----
55 SliTaz i18n project coordination is done on the SCN and doc is on the website:
57 http://www.slitaz.org/i18n.php
60 ================================================================================
61 EOT
62 }