summaryrefslogtreecommitdiffstats
path: root/abs/core/ndiswrapper/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-09 01:43:59 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-09 01:43:59 (GMT)
commit6b218299785aedd78128a9c7831aff1a6eefdcb8 (patch)
tree79f48e3bac89f7120496e6b3021072212fa6a780 /abs/core/ndiswrapper/PKGBUILD
parentf33c5716af099ce4d779cf67f65204f11b551ed6 (diff)
parente40ac065f9a09f99b37e898b8684d70a0984f399 (diff)
downloadlinhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.zip
linhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.tar.gz
linhes_pkgbuild-6b218299785aedd78128a9c7831aff1a6eefdcb8.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/ndiswrapper/PKGBUILD')
-rw-r--r--abs/core/ndiswrapper/PKGBUILD25
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')