1 # Contributor: nofxx <x@nofxx.com>
2 # Maintainer: Merkil <merkil33@gmail.com>
6 pkgdesc="RaLink RT73 USB Enhanced Drivers"
8 url="http://homepages.tu-darmstadt.de/~p_larbig/wlan"
11 makedepends=('kernel26-headers')
12 provides=('rt73-k2wrlz')
13 conflicts=('rt73-k2wrlz')
15 source=(http://homepages.tu-darmstadt.de/~p_larbig/wlan/$pkgname-$pkgver.tar.bz2
19 rt_config_big_smp_lock.diff
22 md5sums=('904c1e22c5d635ba24c88e5f92c84941'
23 '5dfff4d1021d3d802b859f54f09dfc9e'
24 '673bda97484f219c30c13e472493036a'
25 '73ab284e841e40e078e384b6cdc80e6f'
26 '9f83195a7a07d64554d6cfbb388feb04'
27 '04881f4965a706d570342886cad41bda')
31 mv *diff $startdir/src/$pkgname-$pkgver/Module
32 cd $startdir/src/$pkgname-$pkgver/Module
34 patch < Makefile.diff || return 1
35 patch < use_sema_init.diff || return 1
36 patch < rtmp_main.diff || return 1
37 patch < rt_config_big_smp_lock.diff || return 1
38 patch < 3.2_wireless_abi.diff || return 1
41 install -Dm644 rt73.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/rt73.ko || return 1