wok-current view kbd-busybox/receipt @ rev 4254

Up xorg-libX11 (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 09:38:33 2009 +0200 (2009-09-25)
parents ae23413b1908
children f9b5c601e14a
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="1.1"
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 configure and make the package.
12 compile_rules()
13 {
14 mkdir -p $src/_pkg/usr/share/kmap
15 cd $src
16 dumpkmap > current.kmap || return 1
17 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
18 [ "$(dirname $i)" = "include" ] && continue
19 i=$(basename $i)
20 i=${i%.map.gz}
21 loadkeys $i && dumpkmap > _pkg/usr/share/kmap/$i.kmap
22 done
23 loadkmap < current.kmap
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $_pkg/usr $fs
30 }