wok-current annotate kbd-base/receipt @ rev 12882
Add kbd to ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 25 23:26:50 2012 +0200 (2012-05-25) |
parents | eef7c8c8ad4e |
children | ef61195e9258 |
rev | line source |
---|---|
pankso@708 | 1 # SliTaz package receipt. |
pankso@708 | 2 |
pankso@708 | 3 PACKAGE="kbd-base" |
slaxemulator@9850 | 4 VERSION="1.15.3" |
pankso@708 | 5 CATEGORY="base-system" |
pankso@708 | 6 SHORT_DESC="Keyboard maping definitions and loadkeys utility." |
pankso@708 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@708 | 8 WANTED="kbd" |
pankso@12882 | 9 WEB_SITE="http://kbd-project.org/" |
pankso@12882 | 10 HOST_ARCH="i486 arm" |
pankso@12882 | 11 |
pankso@12882 | 12 # Make sure it will run on host or no keyboard support... |
pankso@12882 | 13 testsuite() |
pankso@12882 | 14 { |
pankso@12882 | 15 readelf -h $install/usr/bin/loadkeys |
pankso@12882 | 16 } |
pankso@708 | 17 |
pankso@708 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 19 genpkg_rules() |
pankso@708 | 20 { |
pankso@12882 | 21 mkdir -p $fs/bin |
pankso@12882 | 22 cp -a $install/usr/bin/loadkeys $fs/bin |
pankso@12882 | 23 # Dirs |
pankso@12882 | 24 for dir in dvorak azerty qwerty qwertz; do |
pankso@12882 | 25 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir |
pankso@12882 | 26 done |
pankso@708 | 27 # i386 keymaps only. |
pankso@12882 | 28 for keymap in $(cat $stuff/keymaps-path.list) |
pankso@708 | 29 do |
pankso@12882 | 30 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \ |
pankso@708 | 31 $fs/usr/share/kbd/keymaps/i386/$keymap |
pankso@708 | 32 done |
pankso@708 | 33 # Include files |
pankso@12882 | 34 cp -a $install/usr/share/kbd/keymaps/include \ |
pankso@708 | 35 $fs/usr/share/kbd/keymaps |
pankso@12882 | 36 cp -a $install/usr/share/kbd/keymaps/i386/include \ |
pankso@708 | 37 $fs/usr/share/kbd/keymaps/i386/include |
pankso@708 | 38 } |
pankso@708 | 39 |