wok-current view kbd-base/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents
children eef7c8c8ad4e
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="1.12"
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
20 cp -a $_pkg/bin $fs
22 # i386 keymaps only.
23 for keymap in `cat stuff/keymaps-path.list`
24 do
25 cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \
26 $fs/usr/share/kbd/keymaps/i386/$keymap
27 done
28 # Include files
29 cp -a $_pkg/usr/share/kbd/keymaps/include \
30 $fs/usr/share/kbd/keymaps
31 cp -a $_pkg/usr/share/kbd/keymaps/i386/include \
32 $fs/usr/share/kbd/keymaps/i386/include
33 }