wok-tiny view fr/receipt @ rev 90

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