wok-6.x view kbd-base/receipt @ rev 18399
open-vm-tools: fix depmod call
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Sep 19 03:27:30 2015 +0000 (2015-09-19) |
parents | 159df010240c |
children | b0cfa2140c91 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="2.0.2"
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/"
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 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 }