wok-stable view kbd-busybox/receipt @ rev 1332
Add setuptools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 11:00:49 2008 +0000 (2008-08-31) |
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 }