wok-current view kbd-busybox/receipt @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | 620819a54fad |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="2.4.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard mapping definitions for busybox."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.slitaz.org/"
11 BUILD_DEPENDS="kbd-base busybox"
12 WANTED="kbd-base" # for VERSION check only
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $install/usr/share/kmap
18 dumpkmap > current.kmap || return 1
19 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz)
20 do
21 [ "$(dirname $i)" = "include" ] && continue
22 k=$(basename $i)
23 k=${k%.map.gz}
24 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
25 dumpkmap > $install/usr/share/kmap/$k.kmap
26 dumpkmap | cmp current.kmap - > /dev/null && map=$i
27 done
28 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }