wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="1.15.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions for busybox."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.slitaz.org/"
11 BUILD_DEPENDS="kbd-base busybox"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $install/usr/share/kmap
17 dumpkmap > current.kmap || return 1
18 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
19 [ "$(dirname $i)" = "include" ] && continue
20 k=$(basename $i)
21 k=${k%.map.gz}
22 loadkeys -u /usr/share/kbd/keymaps/i386/$i &&
23 dumpkmap > $install/usr/share/kmap/$k.kmap
24 dumpkmap | cmp current.kmap - > /dev/null && map=$i
25 done
26 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }