wok-6.x view kbd-base/receipt @ rev 15686
Fix wrong name for debootstrap
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:38:57 2013 +0100 (2013-12-21) |
parents | a4254bd509cd |
children | 159df010240c |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="1.15.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions and loadkeys utility."
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 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/bin
24 cp -a $install/usr/bin/loadkeys $fs/bin
26 # Dirs
27 for dir in dvorak azerty qwerty qwertz; do
28 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
29 done
31 # i386 keymaps only.
32 for keymap in $(cat $stuff/keymaps-path.list); do
33 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
34 $fs/usr/share/kbd/keymaps/i386/$keymap
35 done
37 # Include files
38 cp -a $install/usr/share/kbd/keymaps/include \
39 $fs/usr/share/kbd/keymaps
40 cp -a $install/usr/share/kbd/keymaps/i386/include \
41 $fs/usr/share/kbd/keymaps/i386/include
43 # X11 keyboard aliases
44 while read X keymap ; do
45 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
46 done <<EOT
47 qwertz/hr croat
48 EOT
49 }