wok-next annotate kbd-busybox/receipt @ rev 19411
pcmanfm: scale wallpaper proportionally to the whole screen
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 24 14:08:29 2016 +0300 (2016-09-24) |
parents | f1e757631080 |
children | f7d9f142f79d |
rev | line source |
---|---|
pascal@743 | 1 # SliTaz package receipt. |
pascal@743 | 2 |
pascal@743 | 3 PACKAGE="kbd-busybox" |
pascal@18122 | 4 VERSION="2.0.2" |
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/" |
pascal@18122 | 10 WANTED="kbd-base" # for VERSION check only |
al@14904 | 11 |
pascal@743 | 12 BUILD_DEPENDS="kbd-base busybox" |
pascal@743 | 13 |
pascal@1631 | 14 # Rules to configure and make the package. |
pascal@1631 | 15 compile_rules() |
pascal@743 | 16 { |
pascal@14770 | 17 mkdir -p $install/usr/share/kmap |
pascal@1631 | 18 dumpkmap > current.kmap || return 1 |
pascal@743 | 19 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do |
pascal@743 | 20 [ "$(dirname $i)" = "include" ] && continue |
pascal@4387 | 21 k=$(basename $i) |
pascal@4387 | 22 k=${k%.map.gz} |
al@14904 | 23 loadkeys -u /usr/share/kbd/keymaps/i386/$i && |
pascal@14770 | 24 dumpkmap > $install/usr/share/kmap/$k.kmap |
pascal@10349 | 25 dumpkmap | cmp current.kmap - > /dev/null && map=$i |
pascal@743 | 26 done |
pascal@10349 | 27 loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map |
pascal@743 | 28 } |
pascal@743 | 29 |
pascal@1631 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1631 | 31 genpkg_rules() |
pascal@1631 | 32 { |
pascal@14770 | 33 cp -a $install/usr $fs |
pascal@1631 | 34 } |