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