wok-stable view kbd-busybox/receipt @ rev 11689
ntop: update bdep
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 17:18:01 2012 +0100 (2012-02-18) |
parents | 3f989c266063 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-busybox"
4 VERSION="1.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard maping definitions for busybox."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="kbd-base busybox"
9 WEB_SITE="http://www.slitaz.org/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir -p $src/_pkg/usr/share/kmap
15 cd $src
16 dumpkmap > current.kmap || return 1
17 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
18 [ "$(dirname $i)" = "include" ] && continue
19 k=$(basename $i)
20 k=${k%.map.gz}
21 loadkeys /usr/share/kbd/keymaps/i386/$i &&
22 dumpkmap > _pkg/usr/share/kmap/$k.kmap
23 dumpkmap | cmp current.kmap - > /dev/null && map=$i
24 done
25 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 }