wok view kbd-base/receipt @ rev 17860
syslinux/taziso: create a fat32 in partition 1 or 2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 25 12:48:09 2015 +0100 (2015-03-25) |
parents | f1e757631080 |
children | 313f1cfd0a62 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="2.0.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions and loadkeys utility."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://kbd-project.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="kbd"
14 # Make sure it will run on host or no keyboard support...
15 testsuite()
16 {
17 readelf -h $install/usr/bin/loadkeys
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/bin
24 cp -a $install/usr/bin/loadkeys $fs/bin
26 # Dirs
27 for dir in dvorak azerty qwerty qwertz; do
28 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
29 done
31 # i386 keymaps only.
32 for keymap in $(cat $stuff/keymaps-path.list); do
33 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
34 $fs/usr/share/kbd/keymaps/i386/$keymap
35 done
37 # Include files
38 cp -a $install/usr/share/kbd/keymaps/include \
39 $fs/usr/share/kbd/keymaps
40 cp -a $install/usr/share/kbd/keymaps/i386/include \
41 $fs/usr/share/kbd/keymaps/i386/include
43 # X11 keyboard aliases
44 while read X keymap ; do
45 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
46 done <<EOT
47 qwertz/hr croat
48 EOT
49 }