updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / tiacx-ice / PKGBUILD
blob92a734259f5db4c362594320cc05433e03f82593
1 # Contributor Giuseppe Calderaro <giuseppecalderaro@gmail.com>
2 # Contributor Alessandro Sagratini <ale_sagra@hotmail.com>
4 pkgname=tiacx-ice
5 _kernver=2.6.29-ice
6 pkgver=20080210
7 pkgrel=1
8 pkgdesc="OpenSource module for Texas Instruments ACX100/ACX111 wireless chips. For kernel26-ice."
9 arch=('i686' 'x86_64')
10 url="http://acx100.sourceforge.net"
11 license=('MPL')
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
15         kernel-2.6.27.patch)
16 md5sums=('7d5ce3215708e4e9f95cf567a9ee3a12'
17          '9895f72f8d0c84956b0f6c3b16df0fe8')
19 build() {
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