wok-6.x view kbd-busybox/receipt @ rev 946
Up: slitaz-configs (2.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jun 24 20:46:19 2008 +0200 (2008-06-24) |
parents | |
children | ae23413b1908 |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions for busybox."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="kbd-base busybox"
9 WEB_SITE="http://www.slitaz.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/share/kmap
15 dumpkmap > /tmp/current.kmap
16 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
17 [ "$(dirname $i)" = "include" ] && continue
18 i=$(basename $i)
19 i=${i%.map.gz}
20 loadkeys $i
21 dumpkmap > $fs/usr/share/kmap/$i.kmap
22 done
23 loadkmap < /tmp/current.kmap
24 rm -f /tmp/current.kmap
25 }