wok-tiny view fr/receipt @ rev 3

Add fr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 01 23:10:07 2011 +0100 (2011-02-01)
parents
children 943c1a94316d
line source
1 # SliTaz package receipt.
3 PACKAGE="fr"
4 VERSION="1.0"
5 CATEGORY="tiny-slitaz"
6 SHORT_DESC="FR keyboard and locales"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://mirror.slitaz.org/pizza/tiny/"
9 DEPENDS="base-tiny"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir -p fs/etc
15 echo "Europe/Paris" > fs/etc/TZ
16 echo "fr-latin1" > fs/etc/keymap.conf
17 cat > fs/etc/locale.conf <<EOT
18 LANG=fr_FR
19 LC_ALL=fr_FR
20 EOT
21 while read pkg file ; do
22 if [ ! -s $pkg*/fs$file ]; then
23 tazpkg get $pkg
24 tazpkg extract $pkg*.tazpkg
25 fi
26 mkdir -p fs$(dirname $file)
27 mv $pkg*/fs$file fs$(dirname $file) || return 1
28 done << EOT
29 kbd-busybox /usr/share/kmap/fr-latin1.kmap
30 EOT
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a fs/. $fs
37 }