wok-6.x diff linmodem-slmodem/receipt @ rev 5467
Up linmodem-slmodem (2.9.11-20100303)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 20:07:57 2010 +0200 (2010-05-05) |
parents | fe3602b923a8 |
children | b4b992b90e4a |
line diff
1.1 --- a/linmodem-slmodem/receipt Thu Dec 10 13:28:57 2009 +0000 1.2 +++ b/linmodem-slmodem/receipt Wed May 05 20:07:57 2010 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linmodem-slmodem" 1.7 -VERSION="2.9.11-20090222" 1.8 +VERSION="2.9.11-20100303" 1.9 CATEGORY="network" 1.10 MAINTAINER="jozee@slitaz.org" 1.11 SHORT_DESC="Drivers for the Smartlink winmodems" 1.12 @@ -24,6 +24,9 @@ 1.13 cd ungrab-winmodem-20090716 1.14 make KERNEL_DIR=$WOK/linux/linux-$KERNEL_VERSION 1.15 cd $src 1.16 + for i in utsrelease.h ; do 1.17 + grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|" 1.18 + done 1.19 sed -i 's|^obj-m := slamr.o slusb.o|obj-m := slamr.o|' drivers/Makefile 1.20 make KERNEL_DIR=$WOK/linux/linux-$KERNEL_VERSION SUPPORT_ALSA=1 DESTDIR=$PWD/_pkg drivers 1.21 }