# Description: Modules kernel pour les cartes wifi à base de Atheros # URL: http://madwifi.org # Maintainer: NuTyX core team # Packager: guy name=madwifi version=0.9.4.4132 _version=trunk snapshot=r4132-20100921 _kernver=`uname -r` release=1 source=(http://nutyx.meticul.eu/files/madwifi-trunk-$snapshot.tar.gz) build() { cd $name-${_version}-$snapshot sed -i -e 's/-Werror//g' Makefile.inc make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules make KERNELPATH=/lib/modules/$_kernver/build KERNELRELEASE=$_kernver modules \ DESTDIR=$SRC/pkg KERNELRELEASE=$_kernver install-modules make make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/share/man install }