wok annotate kbd-base/receipt @ rev 8536

Fix: No need for _pkg to be set in xorg-server-Xnest and xorg-server-Xvfb.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 03:51:34 2011 +0000 (2011-02-13)
parents
children eef7c8c8ad4e
rev   line source
pankso@708 1 # SliTaz package receipt.
pankso@708 2
pankso@708 3 PACKAGE="kbd-base"
pankso@708 4 VERSION="1.12"
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@708 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/"
pankso@708 10
pankso@708 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@708 12 genpkg_rules()
pankso@708 13 {
pankso@708 14 mkdir -p \
pankso@708 15 $fs/usr/share/kbd/keymaps/i386/azerty \
pankso@708 16 $fs/usr/share/kbd/keymaps/i386/dvorak \
pankso@708 17 $fs/usr/share/kbd/keymaps/i386/qwerty \
pankso@708 18 $fs/usr/share/kbd/keymaps/i386/qwertz
pankso@708 19
pankso@708 20 cp -a $_pkg/bin $fs
pankso@708 21
pankso@708 22 # i386 keymaps only.
pankso@708 23 for keymap in `cat stuff/keymaps-path.list`
pankso@708 24 do
pankso@708 25 cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \
pankso@708 26 $fs/usr/share/kbd/keymaps/i386/$keymap
pankso@708 27 done
pankso@708 28 # Include files
pankso@708 29 cp -a $_pkg/usr/share/kbd/keymaps/include \
pankso@708 30 $fs/usr/share/kbd/keymaps
pankso@708 31 cp -a $_pkg/usr/share/kbd/keymaps/i386/include \
pankso@708 32 $fs/usr/share/kbd/keymaps/i386/include
pankso@708 33 }
pankso@708 34