wok view kbd-busybox/receipt @ rev 15120

splashutils: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 22:02:02 2013 +0000 (2013-08-14)
parents a4254bd509cd
children 703c42748bbf
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="1.15.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping 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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $install/usr/share/kmap
17 dumpkmap > current.kmap || return 1
18 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
19 [ "$(dirname $i)" = "include" ] && continue
20 k=$(basename $i)
21 k=${k%.map.gz}
22 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
23 dumpkmap > $install/usr/share/kmap/$k.kmap
24 dumpkmap | cmp current.kmap - > /dev/null && map=$i
25 done
26 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }