wok-next view kbd-base/receipt @ rev 17948
mtpaint: up (3.44.91), remove XPM icons substitutions (using original icons).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:24:03 2015 +0300 (2015-04-16) |
parents | 159df010240c |
children | f7d9f142f79d |
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 }