wok-next diff kbd/receipt @ rev 11342

Up:?tazwok 4.2.17
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Nov 26 17:28:05 2011 +0100 (2011-11-26)
parents 2ad34d8fdfe7
children b7319995b37e
line diff
     1.1 --- a/kbd/receipt	Sun Feb 27 01:38:28 2011 +0100
     1.2 +++ b/kbd/receipt	Sat Nov 26 17:28:05 2011 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="kbd"
     1.7 -VERSION="1.12"
     1.8 +VERSION="1.15.3"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Keyboard maping definitions and tools."
    1.11  BUILD_DEPENDS="flex"
    1.12 @@ -15,11 +15,10 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	./configure \
    1.17 -		--prefix=/usr \
    1.18 -		--mandir=/usr/share/man
    1.19 -	make
    1.20 -	make DESTDIR=$PWD/_pkg install
    1.21 +	patch -Np1 -i $stuff/fix-es.po.patch
    1.22 +	./configure --datadir=/usr/share/kbd && 
    1.23 +	make && 
    1.24 +	make install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 @@ -48,9 +47,9 @@
    1.29  
    1.30  post_remove()
    1.31  {
    1.32 -	ln -s /bin/busybox /usr/bin/deallocvt
    1.33 -	ln -s /bin/busybox /usr/bin/chvt
    1.34 -	ln -s /bin/busybox /usr/bin/setkeycodes
    1.35 -	ln -s /bin/busybox /usr/bin/openvt
    1.36 -	ln -s /bin/busybox /usr/bin/kbd_mode
    1.37 +	ln -s /bin/busybox $1/usr/bin/deallocvt
    1.38 +	ln -s /bin/busybox $1/usr/bin/chvt
    1.39 +	ln -s /bin/busybox $1/usr/bin/setkeycodes
    1.40 +	ln -s /bin/busybox $1/usr/bin/openvt
    1.41 +	ln -s /bin/busybox $1/usr/bin/kbd_mode
    1.42  }