wok diff kbd-base/receipt @ rev 13232
Move from undigest: i3-man
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:02 2012 +0200 (2012-08-14) |
parents | eef7c8c8ad4e |
children | ef61195e9258 |
line diff
1.1 --- a/kbd-base/receipt Sun May 15 21:55:14 2011 +0000 1.2 +++ b/kbd-base/receipt Tue Aug 14 13:39:02 2012 +0200 1.3 @@ -6,30 +6,34 @@ 1.4 SHORT_DESC="Keyboard maping definitions and loadkeys utility." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 WANTED="kbd" 1.7 -WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/" 1.8 +WEB_SITE="http://kbd-project.org/" 1.9 +HOST_ARCH="i486 arm" 1.10 + 1.11 +# Make sure it will run on host or no keyboard support... 1.12 +testsuite() 1.13 +{ 1.14 + readelf -h $install/usr/bin/loadkeys 1.15 +} 1.16 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 - mkdir -p \ 1.21 - $fs/usr/share/kbd/keymaps/i386/azerty \ 1.22 - $fs/usr/share/kbd/keymaps/i386/dvorak \ 1.23 - $fs/usr/share/kbd/keymaps/i386/qwerty \ 1.24 - $fs/usr/share/kbd/keymaps/i386/qwertz \ 1.25 - $fs/bin 1.26 - 1.27 - cp -a $_pkg/usr/bin/loadkeys $fs/bin 1.28 - 1.29 + mkdir -p $fs/bin 1.30 + cp -a $install/usr/bin/loadkeys $fs/bin 1.31 + # Dirs 1.32 + for dir in dvorak azerty qwerty qwertz; do 1.33 + mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir 1.34 + done 1.35 # i386 keymaps only. 1.36 - for keymap in `cat $stuff/keymaps-path.list` 1.37 + for keymap in $(cat $stuff/keymaps-path.list) 1.38 do 1.39 - cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \ 1.40 + cp -a $install/usr/share/kbd/keymaps/i386/$keymap \ 1.41 $fs/usr/share/kbd/keymaps/i386/$keymap 1.42 done 1.43 # Include files 1.44 - cp -a $_pkg/usr/share/kbd/keymaps/include \ 1.45 + cp -a $install/usr/share/kbd/keymaps/include \ 1.46 $fs/usr/share/kbd/keymaps 1.47 - cp -a $_pkg/usr/share/kbd/keymaps/i386/include \ 1.48 + cp -a $install/usr/share/kbd/keymaps/i386/include \ 1.49 $fs/usr/share/kbd/keymaps/i386/include 1.50 } 1.51