wok-current 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 | 357c9dba020c |
children | be656ac55ce8 |
files | kbd-busybox/receipt syslinux-kbd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kbd-busybox/receipt Mon May 05 15:30:34 2008 +0000 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kbd-busybox" 1.7 +VERSION="1.0" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Keyboard maping definitions for busybox." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +BUILD_DEPENDS="kbd-base busybox" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/share/kmap 1.18 + dumpkmap > /tmp/current.kmap 1.19 + for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do 1.20 + [ "$(dirname $i)" = "include" ] && continue 1.21 + i=$(basename $i) 1.22 + i=${i%.map.gz} 1.23 + loadkeys $i 1.24 + dumpkmap > $fs/usr/share/kmap/$i.kmap 1.25 + done 1.26 + loadkmap < /tmp/current.kmap 1.27 + rm -f /tmp/current.kmap 1.28 +} 1.29 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/syslinux-kbd/receipt Mon May 05 15:30:34 2008 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="syslinux-kbd" 2.7 +VERSION="3.62" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Keyboard maping definitions for boot loader." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WANTED="syslinux" 2.12 +WEB_SITE="http://syslinux.zytor.com/" 2.13 +BUILD_DEPENDS="kbd-base perl" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr/share/boot/ /tmp/$PACKAGE-$$ 2.19 + zcat /usr/share/kbd/keymaps/i386/qwerty/us.map.gz > /tmp/us.map 2.20 + sed "s|\\\$DEFAULT_PATH = .*|\$DEFAULT_PATH = \"/tmp/$PACKAGE-$$\";|" \ 2.21 + > /tmp/$PACKAGE-$$/mkkbd < $src/keytab-lilo.pl 2.22 + chmod +x /tmp/$PACKAGE-$$/mkkbd 2.23 + for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do 2.24 + [ "$(dirname $i)" = "include" ] && continue 2.25 + j=$(basename $i) 2.26 + j=${j%.map.gz} 2.27 + zcat /usr/share/kbd/keymaps/i386/$i > /tmp/$PACKAGE-$$/$j.map 2.28 + done 2.29 + for i in $(cd /tmp/$PACKAGE-$$ ; ls *.map); do 2.30 + i=$(basename $i) 2.31 + i=${i%.map} 2.32 + /tmp/$PACKAGE-$$/mkkbd $i > $fs/usr/share/boot/$i.kbd 2.33 + done 2.34 + rm -rf /tmp/$PACKAGE-$$ 2.35 +} 2.36 +