summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/tiacx/PKGBUILD40
-rw-r--r--abs/core/tiacx/acx.install6
2 files changed, 25 insertions, 21 deletions
diff --git a/abs/core/tiacx/PKGBUILD b/abs/core/tiacx/PKGBUILD
index 6fa4980..428d993 100644
--- a/abs/core/tiacx/PKGBUILD
+++ b/abs/core/tiacx/PKGBUILD
@@ -1,37 +1,41 @@
-# $Id: PKGBUILD 97004 2010-10-25 21:04:20Z tpowa $
-# Maintainer: James Rayner <iphitus@gmail.com>
+# Contributor: James Rayner <iphitus@gmail.com>
pkgname=tiacx
pkgver=20080210
-pkgrel=19
+pkgrel=22
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.36' 'kernel26<2.6.37' 'tiacx-firmware')
-#makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
-depends=('wireless_tools' 'kernel26<=2.6.37' 'tiacx-firmware')
-makedepends=('kernel26-headers>=2.6.37')
+depends=('wireless_tools' 'kernel26>=2.6.39' 'kernel26<2.6.40' 'tiacx-firmware')
+makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40')
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.37-LinHES
+options=(!strip)
+_kernver=2.6.39-LinHES
+md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
+ '9895f72f8d0c84956b0f6c3b16df0fe8'
+ 'e2900aee839ce711a7f7606b3e3de36e'
+ 'dbcb276d77df7801cef58a85c18dfe94'
+ '9cd35ea33b8abdd2e4efec485b05477e')
build() {
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
+ patch -Np1 -i ../kernel-2.6.27.patch
+ patch -Np0 -i ../kernel-2.6.30.patch
+ patch -Np1 -i ../kernel-2.6.31.patch
+ patch -Np0 -i ../kernel-2.6.33.patch
+ make -C /lib/modules/${_kernver}/build M=$(pwd)
+}
+
+package () {
+ cd $srcdir/acx-$pkgver
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
+ # gzip -9 modules
+ find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
}
-md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
- '9895f72f8d0c84956b0f6c3b16df0fe8'
- 'e2900aee839ce711a7f7606b3e3de36e'
- 'dbcb276d77df7801cef58a85c18dfe94'
- '9cd35ea33b8abdd2e4efec485b05477e')
diff --git a/abs/core/tiacx/acx.install b/abs/core/tiacx/acx.install
index 1ac836e..971bf32 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.37-LinHES'
+ KERNEL_VERSION='2.6.39-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.37-LinHES'
+ KERNEL_VERSION='2.6.39-LinHES'
depmod $KERNEL_VERSION > /dev/null 2>&1
}
# arg 1: the old package version
post_remove() {
- KERNEL_VERSION='2.6.37-LinHES'
+ KERNEL_VERSION='2.6.39-LinHES'
depmod $KERNEL_VERSION > /dev/null 2>&1
}