wok-4.x annotate kbd-base/receipt @ rev 10474
youtube-dl: add compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:53:03 2011 +0200 (2011-05-25) |
parents | 952f6a49c94c |
children |
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@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 \ |
slaxemulator@9850 | 18 $fs/usr/share/kbd/keymaps/i386/qwertz \ |
slaxemulator@9850 | 19 $fs/bin |
pankso@708 | 20 |
slaxemulator@9850 | 21 cp -a $_pkg/usr/bin/loadkeys $fs/bin |
pankso@708 | 22 |
pankso@708 | 23 # i386 keymaps only. |
slaxemulator@9850 | 24 for keymap in `cat $stuff/keymaps-path.list` |
pankso@708 | 25 do |
pankso@708 | 26 cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \ |
pankso@708 | 27 $fs/usr/share/kbd/keymaps/i386/$keymap |
pankso@708 | 28 done |
pankso@708 | 29 # Include files |
pankso@708 | 30 cp -a $_pkg/usr/share/kbd/keymaps/include \ |
pankso@708 | 31 $fs/usr/share/kbd/keymaps |
pankso@708 | 32 cp -a $_pkg/usr/share/kbd/keymaps/i386/include \ |
pankso@708 | 33 $fs/usr/share/kbd/keymaps/i386/include |
pankso@708 | 34 } |
pankso@708 | 35 |