wok annotate kbd-busybox/receipt @ rev 16813

Update automake to version 1.14.1
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 10 22:24:16 2014 -0300 (2014-07-10)
parents a4254bd509cd
children 703c42748bbf
rev   line source
pascal@743 1 # SliTaz package receipt.
pascal@743 2
pascal@743 3 PACKAGE="kbd-busybox"
al@14904 4 VERSION="1.15.5"
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@14770 8 LICENSE="GPL2"
al@14904 9 WEB_SITE="http://www.slitaz.org/"
al@14904 10
pascal@743 11 BUILD_DEPENDS="kbd-base busybox"
pascal@743 12
pascal@1631 13 # Rules to configure and make the package.
pascal@1631 14 compile_rules()
pascal@743 15 {
pascal@14770 16 mkdir -p $install/usr/share/kmap
pascal@1631 17 dumpkmap > current.kmap || return 1
pascal@743 18 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
pascal@743 19 [ "$(dirname $i)" = "include" ] && continue
pascal@4387 20 k=$(basename $i)
pascal@4387 21 k=${k%.map.gz}
al@14904 22 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
pascal@14770 23 dumpkmap > $install/usr/share/kmap/$k.kmap
pascal@10349 24 dumpkmap | cmp current.kmap - > /dev/null && map=$i
pascal@743 25 done
pascal@10349 26 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
pascal@743 27 }
pascal@743 28
pascal@1631 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1631 30 genpkg_rules()
pascal@1631 31 {
pascal@14770 32 cp -a $install/usr $fs
pascal@1631 33 }