blob: f8d5c06f8a9161454ce7e8530666a8e54c20ba6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# 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.4128
_version=trunk
snapshot=r4128-20100325
_kernver=`uname -r`
release=1
#source=(ftp://ftp.archlinux.org/other/$name/$name-$version.tar.bz2)
source=(http://snapshots.madwifi-project.org/madwifi-trunk/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
}
|