wok view kbd-base/receipt @ rev 12280

qtwitter: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:44 2012 +0200 (2012-04-15)
parents 952f6a49c94c
children f6382af837a6
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://www.kernel.org/pub/linux/utils/kbd/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p \
15 $fs/usr/share/kbd/keymaps/i386/azerty \
16 $fs/usr/share/kbd/keymaps/i386/dvorak \
17 $fs/usr/share/kbd/keymaps/i386/qwerty \
18 $fs/usr/share/kbd/keymaps/i386/qwertz \
19 $fs/bin
21 cp -a $_pkg/usr/bin/loadkeys $fs/bin
23 # i386 keymaps only.
24 for keymap in `cat $stuff/keymaps-path.list`
25 do
26 cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \
27 $fs/usr/share/kbd/keymaps/i386/$keymap
28 done
29 # Include files
30 cp -a $_pkg/usr/share/kbd/keymaps/include \
31 $fs/usr/share/kbd/keymaps
32 cp -a $_pkg/usr/share/kbd/keymaps/i386/include \
33 $fs/usr/share/kbd/keymaps/i386/include
34 }