wok-6.x diff kbd-busybox/receipt @ rev 1100
lostirc: irc.toile-libre.org host now the official IRC chan
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jul 18 14:22:51 2008 +0200 (2008-07-18) |
parents | |
children | ae23413b1908 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kbd-busybox/receipt Fri Jul 18 14:22:51 2008 +0200 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 +