updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ndiswrapper-zen / PKGBUILD
blob1589024d8235d905bc118da098a2dd4a4407ca5a
1 # Contributor: d'Ronin <daronin@2600.com>
3 pkgname='ndiswrapper-zen'
4 _kernver='2.6.25-zen'
5 pkgver='1.53'
6 pkgrel='1'
7 pkgdesc='Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For kernel26zen'
8 license=('GPL')
9 arch=('i686' 'x86_64')
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')
16 build() {
17   cd $startdir/src/ndiswrapper-$pkgver/driver
18   make KVERS=$_kernver 
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