1 # Maintainer: hokasch <hokasch at operamail dot com>
2 # Contributor: Dennis Brendel <buddabrod at gmail dot com>
4 pkgname=compat-wireless
7 pkgdesc='Snapshots of the wireless-testing tree ported to older kernels'
9 url='http://wireless.kernel.org/'
12 makedepends=('linux-api-headers')
13 install=$pkgname.install
14 source=(http://wireless.kernel.org/download/compat-wireless-2.6/$pkgname-${pkgver//_/-}.tar.bz2)
16 sha1sums=('b2bac1330e9f9b471202ac30b654f19620e66df2')
21 cd "$srcdir/$pkgname-${pkgver//_/-}"
23 ##select driver (optional): ath9k ath9k_htc ar9170 b43 zd1211rw
24 #scripts/driver-select ath9k
26 ##uncomment if you encounter problems with rt2870
27 #sed -i 's/^\# CONFIG_RT2800USB_RT30XX/CONFIG_RT2800USB_RT30XX/' config.mk
30 make INSTALL_MOD_PATH=$pkgdir install-modules || return 1
31 install -dm755 $pkgdir/usr/sbin
32 install -dm755 $pkgdir/lib/udev/rules.d
33 install -dm755 $pkgdir/usr/lib/compat-wireless
34 install scripts/madwifi-unload $pkgdir/usr/sbin/
35 install scripts/athenable $pkgdir/usr/sbin/
36 install scripts/b43enable $pkgdir/usr/sbin/
37 install scripts/iwl-enable $pkgdir/usr/sbin/
38 install scripts/athload $pkgdir/usr/sbin/
39 install scripts/b43load $pkgdir/usr/sbin/
40 install scripts/iwl-load $pkgdir/usr/sbin/
41 install udev/compat_firmware.sh $pkgdir/lib/udev/
42 install udev/50-compat_firmware.rules $pkgdir/lib/udev/rules.d/
43 install scripts/modlib.sh $pkgdir/usr/lib/compat-wireless/
44 install scripts/check_depmod $pkgdir/usr/lib/compat-wireless/