wok-6.x rev 4618
v4l-dvb: fix kernel version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 17 18:36:13 2009 +0100 (2009-12-17) |
parents | 248448d3560d |
children | 0863ca91f10a |
files | v4l-dvb/receipt |
line diff
1.1 --- a/v4l-dvb/receipt Thu Dec 17 17:28:06 2009 +0100 1.2 +++ b/v4l-dvb/receipt Thu Dec 17 18:36:13 2009 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 [ -d $PACKAGE-$VERSION ] || hg clone $WEB_SITE $PACKAGE-$VERSION 1.5 cd $src 1.6 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.7 + IFS="." ; set -- $KERNEL_VERSION ; unset IFS 1.8 + cat > v4l/.version << EOF 1.9 +VERSION=$1 1.10 +PATCHLEVEL:=$2 1.11 +SUBLEVEL:=$3 1.12 +KERNELRELEASE:=$KERNEL_VERSION-slitaz 1.13 +EOF 1.14 make SRCDIR="$WOK/linux/linux-$KERNEL_VERSION" CONFIG_MEDIA_TUNER_CUSTOMISE=n CONFIG_RADIO_ADAPTERS=n CONFIG_RADIO_MIROPCM20=n CONFIG_MANTIS_CORE=n 1.15 make DESTDIR="$PWD/_pkg" install 1.16 }