wok-6.x view kbd-base/receipt @ rev 21089
updated kbd, kbd-base, kbd-busybox, and kdb-vlock (2.0.2 -> 2.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 16 09:42:26 2019 +0100 (2019-03-16) |
parents | 313f1cfd0a62 |
children | 620819a54fad |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="2.0.4"
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"
12 HOST_ARCH="i486 arm"
14 # Make sure it will run on host or no keyboard support...
15 testsuite()
16 {
17 readelf -h $install/usr/bin/loadkeys
18 readelf -h $install/usr/bin/setfont
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/bin
25 cp -a $install/usr/bin/loadkeys $install/usr/bin/setfont $fs/bin
27 # Dirs
28 for dir in dvorak azerty qwerty qwertz; do
29 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
30 done
32 # i386 keymaps only.
33 for keymap in $(cat $stuff/keymaps-path.list); do
34 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
35 $fs/usr/share/kbd/keymaps/i386/$keymap
36 done
38 # Include files
39 cp -a $install/usr/share/kbd/keymaps/include \
40 $fs/usr/share/kbd/keymaps
41 cp -a $install/usr/share/kbd/keymaps/i386/include \
42 $fs/usr/share/kbd/keymaps/i386/include
44 # X11 keyboard aliases
45 while read X keymap ; do
46 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
47 done <<EOT
48 qwertz/hr croat
49 EOT
50 }