wok annotate kbd-base/receipt @ rev 14605

Up: youtube-dl to 2013.05.23.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 31 19:59:16 2013 +0000 (2013-05-31)
parents f6382af837a6
children a4254bd509cd
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
pascal@13277 38 # X11 keyboard aliases
pascal@13277 39 while read X keymap ; do
pascal@13277 40 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
pascal@13277 41 done <<EOT
pascal@13277 42 qwertz/hr croat
pascal@13277 43 EOT
pankso@708 44 }
pankso@708 45