wok annotate kbd-busybox/receipt @ rev 3168
Up: ekiga (3.2.4) + rm dep on libiconv
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 25 01:22:37 2009 +0200 (2009-05-25) |
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 |