diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-06 18:45:02 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-06 18:45:02 (GMT) |
commit | 46a6e7cab8d70c922129b1d7ce38d577e5e0f445 (patch) | |
tree | e30d8d97ce3e31826dcf2dcf4f1d8d211ae66720 /abs/core/ndiswrapper/PKGBUILD | |
parent | cb48b42b2208d75d4d6057417767d8327cebd389 (diff) | |
download | linhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.zip linhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.tar.gz linhes_pkgbuild-46a6e7cab8d70c922129b1d7ce38d577e5e0f445.tar.bz2 |
ndiswrapper: recompile for new kernel .36
ref #574
ref #647
Diffstat (limited to 'abs/core/ndiswrapper/PKGBUILD')
-rw-r--r-- | abs/core/ndiswrapper/PKGBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/abs/core/ndiswrapper/PKGBUILD b/abs/core/ndiswrapper/PKGBUILD index b6662fb..f99c158 100644 --- a/abs/core/ndiswrapper/PKGBUILD +++ b/abs/core/ndiswrapper/PKGBUILD @@ -1,25 +1,27 @@ -#$Id: PKGBUILD 80412 2010-05-17 07:56:55Z tpowa $ +#$Id: PKGBUILD 96979 2010-10-25 20:35:44Z tpowa $ #Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=ndiswrapper -_kernver=2.6.34-LinHES +_kernver=2.6.36-LinHES pkgver=1.56 -pkgrel=3 +pkgrel=6 pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For stock arch 2.6 kernel." license=('GPL') arch=(i686 x86_64) url="http://ndiswrapper.sourceforge.net" install="ndiswrapper.install" -depends=("ndiswrapper-utils=$pkgver" 'kernel26>=2.6.34' 'kernel26<2.6.35') -makedepends=('kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35') -source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz) -md5sums=('1431f7ed5f8e92e752d330bbb3aed333') - +depends=("ndiswrapper-utils=$pkgver" 'kernel26>=2.6.36' 'kernel26<2.6.37') +makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37') +source=(http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz + kernel-2.6.35.patch + kernel-2.6.36.patch) build() { cd $srcdir/ndiswrapper-$pkgver/driver - make KVERS=$_kernver || return 1 - make DESTDIR=$pkgdir KVERS=$_kernver install || return 1 + patch -Np2 -i $startdir/kernel-2.6.35.patch + patch -Np2 -i $startdir/kernel-2.6.36.patch + make KVERS=$_kernver + make DESTDIR=$pkgdir KVERS=$_kernver install rm $pkgdir/lib/modules/$_kernver/modules.* #wtf? sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install @@ -29,3 +31,6 @@ build() rm -r $pkgdir/lib/modules/$_kernver/misc/ } +md5sums=('1431f7ed5f8e92e752d330bbb3aed333' + '0a03d613b1fd545a75c5dd1a7c2aaec4' + 'cc16ed13449f17e90865df688b180b2c') |