updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / wl_lkm / PKGBUILD
blobb4e99af1145a01ba48db3fc26d6a60e5bad08a39
1 # Contributor: hydro <hydro@freenet.de>
3 pkgname=wl_lkm
4 pkgver=7.18
5 pkgrel=10
6 pkgdesc="Agere WLAN driver (WEP/WPA) for Hermes-I/II chipset"
7 arch=('i686')
8 url="http://www.lsi.com"
9 license="BSD"
10 depends=()
11 install=wl_lkm.install
12 _kernver=$(uname -r)
13 source=(http://arvidjaar.newmail.ru/wlags49.tar.bz
14         wlags49.patch
15         hermes2.patch)
16 md5sums=('3e3503bdcf4673b2c4511a1e1689010c'
17          '7a026d91f8c3fcde9fdb6fc6d48bd492'
18          '9b60eb718ff755bf3e172e08ebf39a0b')
19 build() {
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/