wok-stable view kbd-base/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 952f6a49c94c
children
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 }