wok-6.x view kbd-busybox/receipt @ rev 21740
updated qjson and qjson-dev (0.8.1 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 14 13:54:44 2019 +0100 (2019-06-14) |
parents | 703c42748bbf |
children | 620819a54fad |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="2.0.4"
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 WANTED="kbd-base" # for VERSION check only
12 BUILD_DEPENDS="kbd-base busybox"
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); do
20 [ "$(dirname $i)" = "include" ] && continue
21 k=$(basename $i)
22 k=${k%.map.gz}
23 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
24 dumpkmap > $install/usr/share/kmap/$k.kmap
25 dumpkmap | cmp current.kmap - > /dev/null && map=$i
26 done
27 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }