wok-current view kbd-base/receipt @ rev 12882
Add kbd to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 25 23:26:50 2012 +0200 (2012-05-25) |
parents | eef7c8c8ad4e |
children | ef61195e9258 |
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 }