1 # Maintainter: <jakob.gruber@gmail.com>
2 # Contributor: Marius Dransfeld <marius.dransfeld@gmail.com>
7 pkgdesc="Drivers for rt2860/2890 chipset wireless cards"
9 url="http://www.mediatek.com/en/Products/support.php?sn=501"
11 makedepends=('linux-headers')
13 install=install.rt2860
15 pkgprefix='2010_07_16_'
17 source=("http://dl.dropbox.com/u/169548/${pkgprefix}RT2860_Linux_STA_v${pkgver}.tar.bz2")
18 md5sums=('b2623a02a006e1b18eea1b9ab58495f0')
22 cd "${srcdir}"/${pkgprefix}RT2860_Linux_STA_v${pkgver}
24 sed "s#HAS_WPA_SUPPLICANT=n#HAS_WPA_SUPPLICANT=y#" -i os/linux/config.mk
25 sed "s#HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n#HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y#" -i os/linux/config.mk
30 cd "${srcdir}"/${pkgprefix}RT2860_Linux_STA_v${pkgver}
32 install -D -m755 os/linux/rt2860sta.ko "${pkgdir}"/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2860sta.ko
33 install -D -m644 RT2860STA.dat "${pkgdir}"/etc/Wireless/RT2860STA/RT2860STA.dat
34 install -D -m644 RT2860STACard.dat "${pkgdir}"/etc/Wireless/RT2860STA/RT2860STACard.dat