wok annotate kbd-base/receipt @ rev 15726
Up: gparted (0.17.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 26 20:54:24 2013 +0100 (2013-12-26) |
parents | a4254bd509cd |
children | 159df010240c |
rev | line source |
---|---|
pankso@708 | 1 # SliTaz package receipt. |
pankso@708 | 2 |
pankso@708 | 3 PACKAGE="kbd-base" |
al@14904 | 4 VERSION="1.15.5" |
pankso@708 | 5 CATEGORY="base-system" |
pankso@708 | 6 SHORT_DESC="Keyboard maping definitions and loadkeys utility." |
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 |
pankso@12882 | 18 } |
pankso@708 | 19 |
pankso@708 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 21 genpkg_rules() |
pankso@708 | 22 { |
pankso@12882 | 23 mkdir -p $fs/bin |
pankso@12882 | 24 cp -a $install/usr/bin/loadkeys $fs/bin |
al@14904 | 25 |
pankso@12882 | 26 # Dirs |
pankso@12882 | 27 for dir in dvorak azerty qwerty qwertz; do |
pankso@12882 | 28 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir |
pankso@12882 | 29 done |
al@14904 | 30 |
pankso@708 | 31 # i386 keymaps only. |
al@14904 | 32 for keymap in $(cat $stuff/keymaps-path.list); do |
pankso@12882 | 33 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \ |
pankso@708 | 34 $fs/usr/share/kbd/keymaps/i386/$keymap |
pankso@708 | 35 done |
al@14904 | 36 |
pankso@708 | 37 # Include files |
pankso@12882 | 38 cp -a $install/usr/share/kbd/keymaps/include \ |
pankso@708 | 39 $fs/usr/share/kbd/keymaps |
pankso@12882 | 40 cp -a $install/usr/share/kbd/keymaps/i386/include \ |
pankso@708 | 41 $fs/usr/share/kbd/keymaps/i386/include |
al@14904 | 42 |
pascal@13277 | 43 # X11 keyboard aliases |
pascal@13277 | 44 while read X keymap ; do |
pascal@13277 | 45 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz |
pascal@13277 | 46 done <<EOT |
pascal@13277 | 47 qwertz/hr croat |
pascal@13277 | 48 EOT |
pankso@708 | 49 } |