wok view kbd-busybox/receipt @ rev 14904
kbd*: up 1.15.5; retawq and kbd: place .mo files to right place; locale-pl: try to fix; slitaz-i18n: no more pcmanfm, kbd really not a core package but contains translations for kbd-base.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 31 20:21:51 2013 +0300 (2013-07-31) |
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 }