1 # Maintainer: Sonny Piers <sonny.piers@gmail.com>
5 pkgdesc='Kernel module for RT5390.'
7 makedepends=('linux-headers')
10 url=('http://www.ralinktech.com/support.php?s=2')
12 'http://www.ralinktech.com/download.php?t=U0wyRnpjMlYwY3k4eU1ERXhMekE0THpBeEwyUnZkMjVzYjJGa09ETXlOVEUwTlRJek9DNWllakk5UFQweU1ERXhYekEwTURaZlVsUTFNemt3WDFKVU5UTTVNbDlNYVc1MWVGOVRWRUZmVmpJdU5TNHdMak5mUkZCUFgwZFFUQT09Qw=='
13 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-WPA-mixed.patch'
14 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-return_nonvoid_function.patch'
15 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-remove_date_time.patch'
16 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-remove-potential-conflicts-with-rt2860sta.patch'
17 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-reduce_debug_output.patch'
18 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-convert-devicename-to-wlanX.patch'
19 'https://api.opensuse.org/public/source/driver:wireless/rt5390sta/rt5390sta-2.5.0.3-config.patch')
20 install='install.rt5390'
22 'ce3a43ba6f1521d81e498f2351585564'
23 '0e4aa5012a4a1e7829577de392b056ee'
24 '89ee08fd9d97a2c3b2dd8493c6db514a'
25 '3e0ae7f0fd8cb121c1ffa4207c8e7642'
26 'd70b9ee8c1a41f80b5690c75d0131ab9'
27 'b3eeebff0a0aa31bbec6397e4a1fb72a'
28 '750fc403090a7a2293bea9b600b0e579'
29 '5a513bf73bf5f5debe1fd8f2d5457d2a')
33 cd "${srcdir}/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO"
34 cp RT2860STA.dat RT5390STA.dat
35 patch -p0 < ../rt5390sta-2.5.0.3-WPA-mixed.patch
36 patch -p0 < ../rt5390sta-2.5.0.3-return_nonvoid_function.patch
37 patch -p0 < ../rt5390sta-2.5.0.3-remove_date_time.patch
38 patch -p0 < ../rt5390sta-2.5.0.3-remove-potential-conflicts-with-rt2860sta.patch
39 patch -p0 < ../rt5390sta-2.5.0.3-reduce_debug_output.patch
40 patch -p0 < ../rt5390sta-2.5.0.3-convert-devicename-to-wlanX.patch
41 patch -p0 < ../rt5390sta-2.5.0.3-config.patch
46 install -D -m 644 ${srcdir}/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/RT5390STA.dat ${pkgdir}/etc/Wireless/RT5390STA/RT5390STA.dat
47 install -D -m 755 ${srcdir}/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/os/linux/rt5390sta.ko ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt5390sta.ko