wok view kbd-base/receipt @ rev 14770

Up busybox (1.21.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 29 17:32:45 2013 +0200 (2013-06-29)
parents ef61195e9258
children f1e757631080
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 LICENSE="GPL2"
9 WANTED="kbd"
10 WEB_SITE="http://kbd-project.org/"
11 HOST_ARCH="i486 arm"
13 # Make sure it will run on host or no keyboard support...
14 testsuite()
15 {
16 readelf -h $install/usr/bin/loadkeys
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/bin
23 cp -a $install/usr/bin/loadkeys $fs/bin
24 # Dirs
25 for dir in dvorak azerty qwerty qwertz; do
26 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
27 done
28 # i386 keymaps only.
29 for keymap in $(cat $stuff/keymaps-path.list)
30 do
31 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
32 $fs/usr/share/kbd/keymaps/i386/$keymap
33 done
34 # Include files
35 cp -a $install/usr/share/kbd/keymaps/include \
36 $fs/usr/share/kbd/keymaps
37 cp -a $install/usr/share/kbd/keymaps/i386/include \
38 $fs/usr/share/kbd/keymaps/i386/include
39 # X11 keyboard aliases
40 while read X keymap ; do
41 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
42 done <<EOT
43 qwertz/hr croat
44 EOT
45 }