1 # Maintainer: Marius L. Meyer <marius.l.meyer at gmail dot com>
3 pkgname=carl9170-driver
7 pkgdesc="A new WiFi driver for Atheros based USB dongles"
9 url="http://wireless.kernel.org/en/users/Drivers/carl9170"
11 depends=('carl9170-fw')
12 makedepends=('linux-api-headers' 'linux-headers')
20 install=$pkgname.install
21 source=(http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-$_reldate.tar.bz2)
22 md5sums=('58a675845c430d3a0e43f036e4520386')
25 cd compat-wireless-$_reldate
26 ./scripts/driver-select carl9170
32 mkdir -p $pkgdir/lib/modules/$kernver/updates/drivers/net/wireless/ath/carl9170
33 mkdir -p $pkgdir/lib/modules/$kernver/updates/{compat,net/{mac80211,wireless}}
34 cd compat-wireless-$_reldate
35 make KMODPATH_ARG="INSTALL_MOD_PATH=$pkgdir" install-modules