wok-current view syslinux-kbd/receipt @ rev 743
Add: kbd-busybox syslinux-kbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 05 15:30:34 2008 +0000 (2008-05-05) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-kbd"
4 VERSION="3.62"
5 CATEGORY="system-tools"
6 SHORT_DESC="Keyboard maping definitions for boot loader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WANTED="syslinux"
9 WEB_SITE="http://syslinux.zytor.com/"
10 BUILD_DEPENDS="kbd-base perl"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/boot/ /tmp/$PACKAGE-$$
16 zcat /usr/share/kbd/keymaps/i386/qwerty/us.map.gz > /tmp/us.map
17 sed "s|\\\$DEFAULT_PATH = .*|\$DEFAULT_PATH = \"/tmp/$PACKAGE-$$\";|" \
18 > /tmp/$PACKAGE-$$/mkkbd < $src/keytab-lilo.pl
19 chmod +x /tmp/$PACKAGE-$$/mkkbd
20 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
21 [ "$(dirname $i)" = "include" ] && continue
22 j=$(basename $i)
23 j=${j%.map.gz}
24 zcat /usr/share/kbd/keymaps/i386/$i > /tmp/$PACKAGE-$$/$j.map
25 done
26 for i in $(cd /tmp/$PACKAGE-$$ ; ls *.map); do
27 i=$(basename $i)
28 i=${i%.map}
29 /tmp/$PACKAGE-$$/mkkbd $i > $fs/usr/share/boot/$i.kbd
30 done
31 rm -rf /tmp/$PACKAGE-$$
32 }