1 # Contributor Giuseppe Calderaro <giuseppecalderaro@gmail.com>
2 # Contributor Alessandro Sagratini <ale_sagra@hotmail.com>
8 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For kernel26-ice."
10 url="http://acx100.sourceforge.net"
12 depends=('wireless_tools' 'tiacx-firmware' 'kernel26-ice')
13 install=tiacx-ice.install
14 source=(http://downloads.sourceforge.net/sourceforge/acx100/acx-$pkgver.tar.bz2
16 md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
17 '9895f72f8d0c84956b0f6c3b16df0fe8')
20 cd $startdir/src/acx-$pkgver
21 patch -Np1 -i ../kernel-2.6.27.patch || return 1
22 make -C /lib/modules/${_kernver}/build M=`pwd` || return 1
23 install -D acx.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless/tiacx/acx.ko
24 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install