wok-current annotate kbd-base/receipt @ rev 21021
updated gvpe (2.25 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 10 15:17:47 2019 +0100 (2019-03-10) |
parents | 159df010240c |
children | b0cfa2140c91 |
rev | line source |
---|---|
pankso@708 | 1 # SliTaz package receipt. |
pankso@708 | 2 |
pankso@708 | 3 PACKAGE="kbd-base" |
al@17920 | 4 VERSION="2.0.2" |
pankso@708 | 5 CATEGORY="base-system" |
al@17920 | 6 SHORT_DESC="Keyboard mapping definitions, loadkeys and setfont utilities" |
pankso@708 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14770 | 8 LICENSE="GPL2" |
pankso@12882 | 9 WEB_SITE="http://kbd-project.org/" |
pankso@12882 | 10 HOST_ARCH="i486 arm" |
pankso@12882 | 11 |
al@14904 | 12 WANTED="kbd" |
al@14904 | 13 |
pankso@12882 | 14 # Make sure it will run on host or no keyboard support... |
pankso@12882 | 15 testsuite() |
pankso@12882 | 16 { |
pankso@12882 | 17 readelf -h $install/usr/bin/loadkeys |
al@17920 | 18 readelf -h $install/usr/bin/setfont |
pankso@12882 | 19 } |
pankso@708 | 20 |
pankso@708 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 22 genpkg_rules() |
pankso@708 | 23 { |
pankso@12882 | 24 mkdir -p $fs/bin |
al@17920 | 25 cp -a $install/usr/bin/loadkeys $install/usr/bin/setfont $fs/bin |
al@14904 | 26 |
pankso@12882 | 27 # Dirs |
pankso@12882 | 28 for dir in dvorak azerty qwerty qwertz; do |
pankso@12882 | 29 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir |
pankso@12882 | 30 done |
al@14904 | 31 |
pankso@708 | 32 # i386 keymaps only. |
al@14904 | 33 for keymap in $(cat $stuff/keymaps-path.list); do |
pankso@12882 | 34 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \ |
pankso@708 | 35 $fs/usr/share/kbd/keymaps/i386/$keymap |
pankso@708 | 36 done |
al@14904 | 37 |
pankso@708 | 38 # Include files |
pankso@12882 | 39 cp -a $install/usr/share/kbd/keymaps/include \ |
pankso@708 | 40 $fs/usr/share/kbd/keymaps |
pankso@12882 | 41 cp -a $install/usr/share/kbd/keymaps/i386/include \ |
pankso@708 | 42 $fs/usr/share/kbd/keymaps/i386/include |
al@14904 | 43 |
pascal@13277 | 44 # X11 keyboard aliases |
pascal@13277 | 45 while read X keymap ; do |
pascal@13277 | 46 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz |
pascal@13277 | 47 done <<EOT |
pascal@13277 | 48 qwertz/hr croat |
pascal@13277 | 49 EOT |
pankso@708 | 50 } |