wok annotate kbd-busybox/receipt @ rev 22103
updated vifm (0.10 -> 0.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 01 15:32:39 2019 +0100 (2019-11-01) |
parents | 703c42748bbf |
children | 620819a54fad |
rev | line source |
---|---|
pascal@743 | 1 # SliTaz package receipt. |
pascal@743 | 2 |
pascal@743 | 3 PACKAGE="kbd-busybox" |
Hans-G?nter@21089 | 4 VERSION="2.0.4" |
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 |
pascal@18122 | 11 WANTED="kbd-base" # for VERSION check only |
pascal@743 | 12 BUILD_DEPENDS="kbd-base busybox" |
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 |
pascal@743 | 19 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do |
pascal@743 | 20 [ "$(dirname $i)" = "include" ] && continue |
pascal@4387 | 21 k=$(basename $i) |
pascal@4387 | 22 k=${k%.map.gz} |
al@14904 | 23 loadkeys -u /usr/share/kbd/keymaps/i386/$i && |
pascal@14770 | 24 dumpkmap > $install/usr/share/kmap/$k.kmap |
pascal@10349 | 25 dumpkmap | cmp current.kmap - > /dev/null && map=$i |
pascal@743 | 26 done |
pascal@10349 | 27 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map |
pascal@743 | 28 } |
pascal@743 | 29 |
pascal@1631 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1631 | 31 genpkg_rules() |
pascal@1631 | 32 { |
pascal@14770 | 33 cp -a $install/usr $fs |
pascal@1631 | 34 } |