wok annotate kbd-busybox/receipt @ rev 2139
Add jabberd2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 03 17:07:11 2009 +0000 (2009-02-03) |
parents | 1b236dd637cc |
children | 443f1bfc5190 |
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@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 |