wok-6.x view kbd-base/receipt @ rev 23164
updated mapserver (7.4.0 -> 7.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 15:05:55 2020 +0100 (2020-03-17) |
parents | b0cfa2140c91 |
children | da39e47234a2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="2.2.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard mapping definitions, loadkeys and setfont utilities."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://kbd-project.org/"
11 WANTED="kbd"
13 HOST_ARCH="i486 arm"
15 # Make sure it will run on host or no keyboard support...
16 testsuite()
17 {
18 readelf -h $install/usr/bin/loadkeys
19 readelf -h $install/usr/bin/setfont
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/bin
26 cp -a $install/usr/bin/loadkeys $fs/bin
27 cp -a $install/usr/bin/setfont $fs/bin
29 # Directories
30 for dir in dvorak azerty qwerty qwertz
31 do
32 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
33 done
35 # i386 keymaps only.
36 for keymap in $(cat $stuff/keymaps-path.list)
37 do
38 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
39 $fs/usr/share/kbd/keymaps/i386/$keymap
40 done
42 # Include files
43 cp -a $install/usr/share/kbd/keymaps/include \
44 $fs/usr/share/kbd/keymaps
45 cp -a $install/usr/share/kbd/keymaps/i386/include \
46 $fs/usr/share/kbd/keymaps/i386/include
48 # X11 keyboard aliases
49 while read X keymap
50 do
51 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
52 done <<EOT
53 qwertz/hr croat
54 EOT
55 }