wok view kbd-base/receipt @ rev 14225
freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 16:18:40 2013 +0000 (2013-03-21) |
parents | f6382af837a6 |
children | a4254bd509cd |
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 # X11 keyboard aliases
39 while read X keymap ; do
40 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
41 done <<EOT
42 qwertz/hr croat
43 EOT
44 }