wok-stable annotate kbd-busybox/receipt @ rev 1411

squirrelmail-*: set CATEGORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 25 07:45:36 2008 +0000 (2008-09-25)
parents
children ae23413b1908
rev   line source
pascal@743 1 # SliTaz package receipt.
pascal@743 2
pascal@743 3 PACKAGE="kbd-busybox"
pascal@743 4 VERSION="1.0"
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@743 8 BUILD_DEPENDS="kbd-base busybox"
pascal@743 9 WEB_SITE="http://www.slitaz.org/"
pascal@743 10
pascal@743 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@743 12 genpkg_rules()
pascal@743 13 {
pascal@743 14 mkdir -p $fs/usr/share/kmap
pascal@743 15 dumpkmap > /tmp/current.kmap
pascal@743 16 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
pascal@743 17 [ "$(dirname $i)" = "include" ] && continue
pascal@743 18 i=$(basename $i)
pascal@743 19 i=${i%.map.gz}
pascal@743 20 loadkeys $i
pascal@743 21 dumpkmap > $fs/usr/share/kmap/$i.kmap
pascal@743 22 done
pascal@743 23 loadkmap < /tmp/current.kmap
pascal@743 24 rm -f /tmp/current.kmap
pascal@743 25 }
pascal@743 26