wok diff kbd/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents b7319995b37e
children a4254bd509cd
line diff
     1.1 --- a/kbd/receipt	Mon Jan 02 23:06:18 2012 +0100
     1.2 +++ b/kbd/receipt	Thu Oct 04 11:53:21 2012 +0200
     1.3 @@ -4,52 +4,55 @@
     1.4  VERSION="1.15.3"
     1.5  CATEGORY="system-tools"
     1.6  SHORT_DESC="Keyboard maping definitions and tools."
     1.7 -BUILD_DEPENDS="flex"
     1.8  MAINTAINER="pankso@slitaz.org"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 -WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/"
    1.11 -WGET_URL="http://www.kernel.org/pub/linux/utils/kbd/$TARBALL"
    1.12 +WEB_SITE="http://kbd-project.org/"
    1.13 +WGET_URL="http://kbd-project.org/download/$TARBALL"
    1.14  TAGS="keyboard"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +#BUILD_DEPENDS="flex"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23  	patch -Np1 -i $stuff/fix-es.po.patch
    1.24 -	./configure --datadir=/usr/share/kbd $CONFIGURE_ARGS &&
    1.25 -	make &&
    1.26 -	make install
    1.27 +	./configure \
    1.28 +		--datadir=/usr/share/kbd \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr/share
    1.37 -	
    1.38 -	# Copy all kbd files (should we split fonts ?) and remove the one 
    1.39 +
    1.40 +	# Copy all kbd files (should we split fonts ?) and remove the one
    1.41  	# provided by: kbd-base.
    1.42  	cp -a $_pkg/usr/share/kbd $fs/usr/share
    1.43  	rm -rf $fs/usr/share/kbd/keymaps/i386
    1.44 -	
    1.45 +
    1.46  	# Tools
    1.47 -	cp -a $_pkg/usr/bin $fs/usr
    1.48 +	cp -a $install/usr/bin $fs/usr
    1.49  }
    1.50  
    1.51  # Overlap busybox
    1.52  pre_install()
    1.53  {
    1.54 -	rm -f $1/usr/bin/deallocvt
    1.55 -	rm -f $1/usr/bin/chvt
    1.56 -	rm -f $1/usr/bin/setkeycodes
    1.57 -	rm -f $1/usr/bin/openvt
    1.58 -	rm -f $1/usr/bin/kbd_mode
    1.59 +	rm -f $root/usr/bin/deallocvt
    1.60 +	rm -f $root/usr/bin/chvt
    1.61 +	rm -f $root/usr/bin/setkeycodes
    1.62 +	rm -f $root/usr/bin/openvt
    1.63 +	rm -f $root/usr/bin/kbd_mode
    1.64  }
    1.65  
    1.66  post_remove()
    1.67  {
    1.68 -	ln -s /bin/busybox $1/usr/bin/deallocvt
    1.69 -	ln -s /bin/busybox $1/usr/bin/chvt
    1.70 -	ln -s /bin/busybox $1/usr/bin/setkeycodes
    1.71 -	ln -s /bin/busybox $1/usr/bin/openvt
    1.72 -	ln -s /bin/busybox $1/usr/bin/kbd_mode
    1.73 +	ln -s /bin/busybox $root/usr/bin/deallocvt
    1.74 +	ln -s /bin/busybox $root/usr/bin/chvt
    1.75 +	ln -s /bin/busybox $root/usr/bin/setkeycodes
    1.76 +	ln -s /bin/busybox $root/usr/bin/openvt
    1.77 +	ln -s /bin/busybox $root/usr/bin/kbd_mode
    1.78  }