wok annotate kbd-busybox/receipt @ rev 24988

Fix perl-gd & tcptrack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 11:01:25 2022 +0000 (2022-05-12)
parents 620819a54fad
children
rev   line source
pascal@743 1 # SliTaz package receipt.
pascal@743 2
pascal@743 3 PACKAGE="kbd-busybox"
Hans-G?nter@24697 4 VERSION="2.4.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 {
Hans-G?nter@24697 34 cp -a $install/usr $fs
pascal@1631 35 }