wok-6.x rev 6127

lirc: fix kernel version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 06 11:49:10 2010 +0200 (2010-09-06)
parents 9f73d654e9e3
children 86b07f76acc6
files lirc/receipt
line diff
     1.1 --- a/lirc/receipt	Mon Sep 06 10:28:15 2010 +0200
     1.2 +++ b/lirc/receipt	Mon Sep 06 11:49:10 2010 +0200
     1.3 @@ -28,6 +28,9 @@
     1.4  	sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
     1.5  	sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in
     1.6  
     1.7 +	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.8 +	sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
     1.9 +
    1.10  	./configure \
    1.11  		--prefix=/usr \
    1.12  		--with-x \