wok-6.x diff kbd-busybox/receipt @ rev 2075
Add: xfdesktop, xfprint*, xfwm4, xfwm4-themes
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 23 23:10:35 2009 +0100 (2009-01-23) |
parents | 1b236dd637cc |
children | 443f1bfc5190 |
line diff
1.1 --- a/kbd-busybox/receipt Mon May 05 15:30:34 2008 +0000 1.2 +++ b/kbd-busybox/receipt Fri Jan 23 23:10:35 2009 +0100 1.3 @@ -8,19 +8,24 @@ 1.4 BUILD_DEPENDS="kbd-base busybox" 1.5 WEB_SITE="http://www.slitaz.org/" 1.6 1.7 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.8 -genpkg_rules() 1.9 +# Rules to configure and make the package. 1.10 +compile_rules() 1.11 { 1.12 - mkdir -p $fs/usr/share/kmap 1.13 - dumpkmap > /tmp/current.kmap 1.14 + mkdir -p $src/_pkg/usr/share/kmap 1.15 + cd $src 1.16 + dumpkmap > current.kmap || return 1 1.17 for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do 1.18 [ "$(dirname $i)" = "include" ] && continue 1.19 i=$(basename $i) 1.20 i=${i%.map.gz} 1.21 - loadkeys $i 1.22 - dumpkmap > $fs/usr/share/kmap/$i.kmap 1.23 + loadkeys $i && dumpkmap > _pkg/usr/share/kmap/$i.kmap 1.24 done 1.25 - loadkmap < /tmp/current.kmap 1.26 - rm -f /tmp/current.kmap 1.27 + loadkmap < current.kmap 1.28 } 1.29 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $_pkg/usr $fs 1.34 +} 1.35 +