1 # Maintainer: James Rayner <iphitus@gmail.com>
6 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For arch LTS 2.6 kernel"
8 url="http://acx100.sourceforge.net/"
10 depends=('wireless_tools' 'kernel26-lts>=2.6.32' 'kernel26-lts<2.6.33' 'tiacx-firmware')
11 makedepends=('kernel26-lts-headers>=2.6.32' 'kernel26-lts-headers<2.6.33')
13 source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
21 cd $srcdir/acx-$pkgver
22 patch -Np1 -i ../kernel-2.6.27.patch
23 patch -Np0 -i ../kernel-2.6.30.patch
24 patch -Np1 -i ../kernel-2.6.31.patch
25 make -C /lib/modules/${_kernver}/build M=`pwd`
29 cd $srcdir/acx-$pkgver
30 install -D acx.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
31 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
33 find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
35 md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
36 '9895f72f8d0c84956b0f6c3b16df0fe8'
37 'e2900aee839ce711a7f7606b3e3de36e'
38 'dbcb276d77df7801cef58a85c18dfe94')