wok annotate kbd-busybox/receipt @ rev 4121
lzma: show help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 20 09:54:40 2009 +0200 (2009-09-20) |
parents | ae23413b1908 |
children | f9b5c601e14a |
rev | line source |
---|---|
pascal@743 | 1 # SliTaz package receipt. |
pascal@743 | 2 |
pascal@743 | 3 PACKAGE="kbd-busybox" |
pankso@2305 | 4 VERSION="1.1" |
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@1631 | 11 # Rules to configure and make the package. |
pascal@1631 | 12 compile_rules() |
pascal@743 | 13 { |
pascal@1631 | 14 mkdir -p $src/_pkg/usr/share/kmap |
pascal@1631 | 15 cd $src |
pascal@1631 | 16 dumpkmap > current.kmap || return 1 |
pascal@743 | 17 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do |
pascal@743 | 18 [ "$(dirname $i)" = "include" ] && continue |
pascal@743 | 19 i=$(basename $i) |
pascal@743 | 20 i=${i%.map.gz} |
pascal@1631 | 21 loadkeys $i && dumpkmap > _pkg/usr/share/kmap/$i.kmap |
pascal@743 | 22 done |
pascal@1631 | 23 loadkmap < current.kmap |
pascal@743 | 24 } |
pascal@743 | 25 |
pascal@1631 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1631 | 27 genpkg_rules() |
pascal@1631 | 28 { |
pascal@1631 | 29 cp -a $_pkg/usr $fs |
pascal@1631 | 30 } |
pascal@1631 | 31 |