wok-current diff kbd-busybox/receipt @ rev 14871

musl-libc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 23 09:36:13 2013 +0000 (2013-07-23)
parents 792e9cc73756
children f1e757631080
line diff
     1.1 --- a/kbd-busybox/receipt	Sun May 22 22:08:19 2011 +0200
     1.2 +++ b/kbd-busybox/receipt	Tue Jul 23 09:36:13 2013 +0000
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="kbd-busybox"
     1.7 -VERSION="1.2"
     1.8 +VERSION="1.15.3"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Keyboard maping definitions for busybox."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13  BUILD_DEPENDS="kbd-base busybox"
    1.14  WEB_SITE="http://www.slitaz.org/"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 -	mkdir -p $src/_pkg/usr/share/kmap
    1.20 +	mkdir -p $install/usr/share/kmap
    1.21  	cd $src
    1.22  	dumpkmap > current.kmap || return 1
    1.23  	for i in $(cd /usr/share/kbd/keymaps/i386 ; ls */*.map.gz); do
    1.24 @@ -19,7 +20,7 @@
    1.25  		k=$(basename $i)
    1.26  		k=${k%.map.gz}
    1.27  		loadkeys /usr/share/kbd/keymaps/i386/$i && 
    1.28 -		dumpkmap > _pkg/usr/share/kmap/$k.kmap
    1.29 +		dumpkmap > $install/usr/share/kmap/$k.kmap
    1.30  		dumpkmap | cmp current.kmap - > /dev/null && map=$i
    1.31  	done
    1.32  	loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
    1.33 @@ -28,6 +29,6 @@
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	cp -a $_pkg/usr $fs
    1.38 +	cp -a $install/usr $fs
    1.39  }
    1.40