1 # Contributor: hydro <hydro@freenet.de>
6 pkgdesc="Agere WLAN driver (WEP/WPA) for Hermes-I/II chipset"
8 url="http://www.lsi.com"
11 install=wl_lkm.install
13 source=(http://arvidjaar.newmail.ru/wlags49.tar.bz
16 md5sums=('3e3503bdcf4673b2c4511a1e1689010c'
17 '7a026d91f8c3fcde9fdb6fc6d48bd492'
18 '9b60eb718ff755bf3e172e08ebf39a0b')
20 cd $startdir/src/wlags49/
21 patch -p1 -i ../wlags49.patch
23 # Uncomment the following line to build Hermes II module
24 # patch -p1 -i ../hermes2.patch
26 make -C /usr/src/linux-$(uname -r) M=$(pwd) || return 1
27 install -d $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/
28 install -m 0644 -o root -g root wlags49_h[12]_cs.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/net/wireless/