wok diff ndiswrapper-driver/receipt @ rev 15678

Up dropbear (2013.62)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 12:18:07 2013 +0100 (2013-12-20)
parents 3765f181a6d5
children db5b03f42dd9
line diff
     1.1 --- a/ndiswrapper-driver/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/ndiswrapper-driver/receipt	Fri Dec 20 12:18:07 2013 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ndiswrapper-driver"
     1.7 -VERSION="1.57"
     1.8 +VERSION="1.59"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Add Windows network drivers support to Linux kernel."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  SOURCE="ndiswrapper"
    1.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
    1.16 -WGET_URL="$SF_MIRROR/$SOURCE/stable/$VERSION/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/$SOURCE/stable/$TARBALL"
    1.18  TAGS="windows wireless network"
    1.19  
    1.20  DEPENDS="linux"
    1.21 @@ -21,9 +21,8 @@
    1.22  	
    1.23  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.24  	cd $src
    1.25 -	patch -Np1 -i $stuff/kernel-2.6.35.patch
    1.26 -	patch -Np1 -i $stuff/kernel-2.6.36.patch
    1.27  	make KBUILD=/usr/src/linux KVER=linux-$KERNEL_VERSION-slitaz
    1.28 +	xz driver/ndiswrapper.ko
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 @@ -37,11 +36,8 @@
    1.33  	# Install utilities	
    1.34  	install -o root -m 755 $src/utils/loadndisdriver $fs/sbin/
    1.35  
    1.36 -	# Compress and install module
    1.37 -	# $stuff/gztazmod.sh $fs/lib/modules/$VERSION-slitaz
    1.38 -	cp $src/driver/ndiswrapper.ko \
    1.39 +	cp $src/driver/ndiswrapper.ko.xz \
    1.40  		$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/
    1.41 -	xz $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko
    1.42  	chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.xz
    1.43  	chmod 644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/ndiswrapper.ko.xz
    1.44  }