wok-4.x view kbd-busybox/receipt @ rev 1243

Up: bogofilter 1.1.6 to 1.1.7
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 12 00:00:05 2008 +0200 (2008-08-12)
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 }