wok-tiny annotate fr/receipt @ rev 94
Refresh, remove kernel*, add linux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 21:45:05 2015 +0200 (2015-10-02) |
parents | a6d2ddc65590 |
children | a10bae21f602 |
rev | line source |
---|---|
pascal@3 | 1 # SliTaz package receipt. |
pascal@3 | 2 |
pascal@3 | 3 PACKAGE="fr" |
pascal@3 | 4 VERSION="1.0" |
pascal@94 | 5 CATEGORY="meta" |
pascal@3 | 6 SHORT_DESC="FR keyboard and locales" |
pascal@3 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@90 | 8 LICENSE="GPL2" |
pascal@55 | 9 WEB_SITE="http://tiny.slitaz.org/" |
pascal@3 | 10 DEPENDS="base-tiny" |
pascal@3 | 11 |
pascal@3 | 12 # Rules to configure and make the package. |
pascal@3 | 13 compile_rules() |
pascal@3 | 14 { |
pascal@94 | 15 mkdir -p $DESTDIR/etc |
pascal@94 | 16 echo "Europe/Paris" > $DESTDIR/etc/TZ |
pascal@94 | 17 cat > $DESTDIR/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@94 | 26 mkdir -p $DESTDIR$(dirname $file) |
pascal@94 | 27 mv $pkg*/fs$file $DESTDIR$(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@94 | 36 cp -a $install/. $fs |
pascal@3 | 37 } |