wok-current annotate kbd-busybox/receipt @ rev 17844
Up libcups cups-doc (2.0.2)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Mar 24 01:34:13 2015 -0400 (2015-03-24) |
parents | a4254bd509cd |
children | 703c42748bbf |
rev | line source |
---|---|
pascal@743 | 1 # SliTaz package receipt. |
pascal@743 | 2 |
pascal@743 | 3 PACKAGE="kbd-busybox" |
al@14904 | 4 VERSION="1.15.5" |
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@14770 | 8 LICENSE="GPL2" |
al@14904 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14904 | 10 |
pascal@743 | 11 BUILD_DEPENDS="kbd-base busybox" |
pascal@743 | 12 |
pascal@1631 | 13 # Rules to configure and make the package. |
pascal@1631 | 14 compile_rules() |
pascal@743 | 15 { |
pascal@14770 | 16 mkdir -p $install/usr/share/kmap |
pascal@1631 | 17 dumpkmap > current.kmap || return 1 |
pascal@743 | 18 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do |
pascal@743 | 19 [ "$(dirname $i)" = "include" ] && continue |
pascal@4387 | 20 k=$(basename $i) |
pascal@4387 | 21 k=${k%.map.gz} |
al@14904 | 22 loadkeys -u /usr/share/kbd/keymaps/i386/$i && |
pascal@14770 | 23 dumpkmap > $install/usr/share/kmap/$k.kmap |
pascal@10349 | 24 dumpkmap | cmp current.kmap - > /dev/null && map=$i |
pascal@743 | 25 done |
pascal@10349 | 26 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map |
pascal@743 | 27 } |
pascal@743 | 28 |
pascal@1631 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1631 | 30 genpkg_rules() |
pascal@1631 | 31 { |
pascal@14770 | 32 cp -a $install/usr $fs |
pascal@1631 | 33 } |