wok-next view kbd-busybox/receipt @ rev 18082
Up marco: copy glib schemas
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 18:30:18 2015 -0300 (2015-05-22) |
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 }