wok-current annotate kbd-busybox/receipt @ rev 22981

updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.0.4 -> 2.2.0)
author Hans-G?nter Theisgen
date Sat Feb 29 17:01:43 2020 +0100 (2020-02-29)
parents b0cfa2140c91
children da39e47234a2
rev   line source
pascal@743 1 # SliTaz package receipt.
pascal@743 2
pascal@743 3 PACKAGE="kbd-busybox"
Hans-G?nter@22981 4 VERSION="2.2.0"
pascal@743 5 CATEGORY="base-system"
Hans-G?nter@21089 6 SHORT_DESC="Keyboard mapping definitions for busybox."
pascal@743 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14770 8 LICENSE="GPL2"
al@14904 9 WEB_SITE="http://www.slitaz.org/"
Hans-G?nter@21089 10
Hans-G?nter@22981 11 BUILD_DEPENDS="kbd-base busybox"
pascal@18122 12 WANTED="kbd-base" # for VERSION check only
pascal@743 13
pascal@1631 14 # Rules to configure and make the package.
pascal@1631 15 compile_rules()
pascal@743 16 {
pascal@14770 17 mkdir -p $install/usr/share/kmap
pascal@1631 18 dumpkmap > current.kmap || return 1
Hans-G?nter@22981 19 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz)
Hans-G?nter@22981 20 do
pascal@743 21 [ "$(dirname $i)" = "include" ] && continue
pascal@4387 22 k=$(basename $i)
pascal@4387 23 k=${k%.map.gz}
al@14904 24 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
pascal@14770 25 dumpkmap > $install/usr/share/kmap/$k.kmap
pascal@10349 26 dumpkmap | cmp current.kmap - > /dev/null && map=$i
Hans-G?nter@22981 27 done
pascal@10349 28 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
pascal@743 29 }
pascal@743 30
pascal@1631 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1631 32 genpkg_rules()
pascal@1631 33 {
pascal@14770 34 cp -a $install/usr $fs
pascal@1631 35 }