1 # Contributor: Troels Liebe Bentsen <tlb@rapanden.dk>
6 pkgdesc="Madwifi drivers for Atheros wireless chipsets."
8 url="http://madwifi.org"
10 depends=('dkms' 'madwifi-utils')
11 replace=('madwifi' 'madwifi-suspend2' 'madwifi-ck')
12 conflicts=('madwifi' 'madwifi-suspend2' 'madwifi-ck')
13 provides=('madwifi' 'madwifi-suspend2' 'madwifi-ck')
14 install=madwifi.install
15 source=(http://heanet.dl.sourceforge.net/madwifi/madwifi-${pkgver}.tar.bz2
18 md5sums=('4704b0e09d76d616217f89de87e4a1ac'
19 'c0da6c2c26476654ad592a07e567e3bb')
22 cd $startdir/src/$_modname-$pkgver
23 mkdir -p $startdir/pkg/usr/src/$_modname-$pkgver-$pkgrel
24 cp -a ath/ ath_hal/ ath_rate/ hal/ include/ net80211/ scripts/ BuildCaps.inc kernelversion.c Makefile Makefile.inc release.h $startdir/pkg/usr/src/$_modname-$pkgver-$pkgrel/
25 sed -i -e "s/PACKAGE_VERSION=\".*\"/PACKAGE_VERSION=\"${pkgver}-${pkgrel}\"/" $startdir/dkms.conf
26 cp $startdir/dkms.conf $startdir/pkg/usr/src/$_modname-$pkgver-$pkgrel/