wok annotate kbd-busybox/receipt @ rev 4387

kbd-busybox: add dvorak.kmap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 15 10:08:26 2009 +0200 (2009-10-15)
parents 443f1bfc5190
children 3f989c266063
rev   line source
pascal@743 1 # SliTaz package receipt.
pascal@743 2
pascal@743 3 PACKAGE="kbd-busybox"
pankso@2305 4 VERSION="1.1"
pascal@743 5 CATEGORY="base-system"
pascal@743 6 SHORT_DESC="Keyboard maping definitions for busybox."
pascal@743 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@743 8 BUILD_DEPENDS="kbd-base busybox"
pascal@743 9 WEB_SITE="http://www.slitaz.org/"
pascal@743 10
pascal@1631 11 # Rules to configure and make the package.
pascal@1631 12 compile_rules()
pascal@743 13 {
pascal@1631 14 mkdir -p $src/_pkg/usr/share/kmap
pascal@1631 15 cd $src
pascal@1631 16 dumpkmap > current.kmap || return 1
pascal@743 17 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
pascal@743 18 [ "$(dirname $i)" = "include" ] && continue
pascal@4387 19 k=$(basename $i)
pascal@4387 20 k=${k%.map.gz}
pascal@4387 21 loadkeys /usr/share/kbd/keymaps/i386/$i &&
pascal@4387 22 dumpkmap > _pkg/usr/share/kmap/$k.kmap
pascal@743 23 done
pascal@1631 24 loadkmap < current.kmap
pascal@743 25 }
pascal@743 26
pascal@1631 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1631 28 genpkg_rules()
pascal@1631 29 {
pascal@1631 30 cp -a $_pkg/usr $fs
pascal@1631 31 }
pascal@1631 32