wok-current view slitaz-i18n/receipt @ rev 15583
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 15:44:51 2013 +0000 (2013-11-30) |
parents | b042fcb86c79 |
children | fc790c298ba1 |
line source
1 # SliTaz package receipt
3 PACKAGE="slitaz-i18n"
4 VERSION="4.1"
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/"
11 # Bdeps ensure packages are built so we can get generated po files.
12 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
13 epdfview galculator gcc-lib-base gcolor2 gdk-pixbuf glib glibc-base \
14 gparted gtk+ isomaster kbd leafpad libwebkit lostirc lxappearance lxpanel \
15 lxrandr lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted \
16 spacefm popt retawq sakura transmission viewnior yad lxsession lxsession-edit \
17 lxinput slitaz-configs"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/share/doc/slitaz
23 . $stuff/locale-pack.conf
24 for p in $CORE_PKGS
25 do
26 if [ ! -d "$WOK/$p/install" ]; then
27 if [ -x /usr/bin/cook ]; then
28 cook $p
29 else
30 tazwok cook $p
31 fi
32 fi
33 done
34 # Cook all locale pack.
35 for i in $LOCALE_PACK
36 do
37 if [ -x /usr/bin/cook ]; then
38 cook locale-$i
39 elif [ -x /usr/bin/tazwok ]; then
40 tazwok cook locale-$i
41 fi
42 done
43 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
44 SliTaz i18n information
45 ================================================================================
47 This package provides the necessary functions and configs for the SliTaz locale
48 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
49 configure the system language.
52 Translated packages files included in the core languages pack (from upstream):
53 ----
54 $CORE_PKGS
55 ----
57 SliTaz i18n project coordination is done on the SCN and doc is on the website:
59 http://www.slitaz.org/i18n.php
62 ================================================================================
63 EOT
64 }