1 # Contributor: d'Ronin <daronin@2600.com>
3 pkgname='ndiswrapper-zen'
7 pkgdesc='Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For kernel26zen'
10 url='http://ndiswrapper.sourceforge.net'
11 install='ndiswrapper.install'
12 depends=('ndiswrapper-utils' 'kernel26zen')
13 source=(http://easynews.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz)
14 md5sums=('393c6e6ab0803963148e18538601cdec')
17 cd $startdir/src/ndiswrapper-$pkgver/driver
19 make DESTDIR=$startdir/pkg KVERS=$_kernver install || return 1
20 rm $startdir/pkg/lib/modules/$_kernver/modules.*
22 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install