wok view kbd-base/receipt @ rev 14553
thunderbird-langpack-en_GB: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 23 10:08:53 2013 +0200 (2013-05-23) |
parents | f6382af837a6 |
children | a4254bd509cd |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="1.15.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions and loadkeys utility."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="kbd"
9 WEB_SITE="http://kbd-project.org/"
10 HOST_ARCH="i486 arm"
12 # Make sure it will run on host or no keyboard support...
13 testsuite()
14 {
15 readelf -h $install/usr/bin/loadkeys
16 }
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/bin
22 cp -a $install/usr/bin/loadkeys $fs/bin
23 # Dirs
24 for dir in dvorak azerty qwerty qwertz; do
25 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
26 done
27 # i386 keymaps only.
28 for keymap in $(cat $stuff/keymaps-path.list)
29 do
30 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
31 $fs/usr/share/kbd/keymaps/i386/$keymap
32 done
33 # Include files
34 cp -a $install/usr/share/kbd/keymaps/include \
35 $fs/usr/share/kbd/keymaps
36 cp -a $install/usr/share/kbd/keymaps/i386/include \
37 $fs/usr/share/kbd/keymaps/i386/include
38 # X11 keyboard aliases
39 while read X keymap ; do
40 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
41 done <<EOT
42 qwertz/hr croat
43 EOT
44 }