1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer: Aljosha Papsch <papsch.al@gmail.com>
7 pkgdesc="A free, stable and feature rich wireless driver for rt2400, rt2500, rt2570, rt61, rt73"
9 conflicts=('linux-firmware')
10 url="http://rt2x00.serialmonkey.com/"
11 license=('GPL' 'custom:EULA')
13 sha256sums=('53159e1d3f251541b08d9a3712059743e61f15ee5d029fe563c976856ef32466')
14 _driverdir="${srcdir}/${_pkgname}/drivers/net/wireless/rt2x00"
17 if [ -d ${srcdir}/${_pkgname} ]; then
18 cd ${srcdir}/${_pkgname}
20 cd ${srcdir}/linux-firmware
23 git clone git://git.kernel.org/pub/scm/linux/kernel/git/ivd/${_pkgname}.git ${_pkgname}
24 git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git linux-firmware
26 cd ${srcdir}/${_pkgname}
28 cp ${srcdir}/Makefile ${_driverdir}
37 install -d ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2x00
38 install -d ${pkgdir}/lib/firmware
40 install -Dm644 *.ko ${pkgdir}/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rt2x00
41 cd ${srcdir}/linux-firmware
42 install -Dm644 rt*.bin ${pkgdir}/lib/firmware
45 # vim:set ts=2 sw=2 et: