From b8bc491c0d660f003071d9be40eb4a01405d1bca Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 6 Nov 2010 18:47:17 +0000
Subject: tiacx: update and recompile for kernel .36 ref #574 ref #647

---
 abs/core/tiacx/PKGBUILD    | 14 +++++++-------
 abs/core/tiacx/acx.install |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/abs/core/tiacx/PKGBUILD b/abs/core/tiacx/PKGBUILD
index 43b77db..c555c70 100644
--- a/abs/core/tiacx/PKGBUILD
+++ b/abs/core/tiacx/PKGBUILD
@@ -1,31 +1,31 @@
-# $Id: PKGBUILD 80410 2010-05-17 07:53:48Z tpowa $
+# $Id: PKGBUILD 97004 2010-10-25 21:04:20Z tpowa $
 # Maintainer: James Rayner <iphitus@gmail.com>
 
 pkgname=tiacx
 pkgver=20080210
-pkgrel=15
+pkgrel=18
 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For stock arch 2.6 kernel"
 arch=(i686 x86_64)
 url="http://acx100.sourceforge.net/"
 license=('MPL')
-depends=('wireless_tools' 'kernel26>=2.6.34' 'kernel26<2.6.35' 'tiacx-firmware')
-makedepends=('kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35')
+depends=('wireless_tools' 'kernel26>=2.6.36' 'kernel26<2.6.37' 'tiacx-firmware')
+makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
 install=acx.install
 source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
         kernel-2.6.27.patch
         kernel-2.6.30.patch
         kernel-2.6.31.patch
         kernel-2.6.33.patch)
-_kernver=2.6.34-LinHES
+_kernver=2.6.36-LinHES
 
 build() {
-    cd $startdir/src/acx-$pkgver
+    cd $srcdir/acx-$pkgver
     patch -Np1 -i ../kernel-2.6.27.patch || return 1
     patch -Np0 -i ../kernel-2.6.30.patch || return 1
     patch -Np1 -i ../kernel-2.6.31.patch || return 1
     patch -Np0 -i ../kernel-2.6.33.patch || return 1
     make -C /lib/modules/${_kernver}/build M=`pwd` || return 1
-    install -D acx.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
+    install -D acx.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
     sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
 }
 md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
diff --git a/abs/core/tiacx/acx.install b/abs/core/tiacx/acx.install
index b858f58..fcf7038 100644
--- a/abs/core/tiacx/acx.install
+++ b/abs/core/tiacx/acx.install
@@ -1,19 +1,19 @@
 # arg 1:  the new package version
 post_install() {
-  KERNEL_VERSION='2.6.34-LinHES'
+  KERNEL_VERSION='2.6.36-LinHES'
   depmod $KERNEL_VERSION > /dev/null 2>&1 
 }
 
 # arg 1:  the new package version
 # arg 2:  the old package version
 post_upgrade() {
-  KERNEL_VERSION='2.6.34-LinHES'
+  KERNEL_VERSION='2.6.36-LinHES'
   depmod $KERNEL_VERSION > /dev/null 2>&1	 
   
 }
 
 # arg 1:  the old package version
 post_remove() {
-  KERNEL_VERSION='2.6.34-LinHES'
+  KERNEL_VERSION='2.6.36-LinHES'
   depmod $KERNEL_VERSION > /dev/null 2>&1	 
 }
-- 
cgit v0.12

