wok annotate kbd-base/receipt @ rev 14773

Up musl-libc (0.9.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 30 10:13:50 2013 +0200 (2013-06-30)
parents ef61195e9258
children f1e757631080
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"
pascal@14770 8 LICENSE="GPL2"
pankso@708 9 WANTED="kbd"
pankso@12882 10 WEB_SITE="http://kbd-project.org/"
pankso@12882 11 HOST_ARCH="i486 arm"
pankso@12882 12
pankso@12882 13 # Make sure it will run on host or no keyboard support...
pankso@12882 14 testsuite()
pankso@12882 15 {
pankso@12882 16 readelf -h $install/usr/bin/loadkeys
pankso@12882 17 }
pankso@708 18
pankso@708 19 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@708 20 genpkg_rules()
pankso@708 21 {
pankso@12882 22 mkdir -p $fs/bin
pankso@12882 23 cp -a $install/usr/bin/loadkeys $fs/bin
pankso@12882 24 # Dirs
pankso@12882 25 for dir in dvorak azerty qwerty qwertz; do
pankso@12882 26 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
pankso@12882 27 done
pankso@708 28 # i386 keymaps only.
pankso@12882 29 for keymap in $(cat $stuff/keymaps-path.list)
pankso@708 30 do
pankso@12882 31 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
pankso@708 32 $fs/usr/share/kbd/keymaps/i386/$keymap
pankso@708 33 done
pankso@708 34 # Include files
pankso@12882 35 cp -a $install/usr/share/kbd/keymaps/include \
pankso@708 36 $fs/usr/share/kbd/keymaps
pankso@12882 37 cp -a $install/usr/share/kbd/keymaps/i386/include \
pankso@708 38 $fs/usr/share/kbd/keymaps/i386/include
pascal@13277 39 # X11 keyboard aliases
pascal@13277 40 while read X keymap ; do
pascal@13277 41 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
pascal@13277 42 done <<EOT
pascal@13277 43 qwertz/hr croat
pascal@13277 44 EOT
pankso@708 45 }
pankso@708 46