summaryrefslogtreecommitdiffstats
path: root/acompiler/madwifi/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-09-28 23:06:05 +0200
committertnut <thierryn1 at hispeed dot ch>2010-09-28 23:06:05 +0200
commitc61c4e638c3aac8dee104ebd5ace77bcf59adafd (patch)
tree726bdd15ef9cbb24c483ccc5962085e28bc7071a /acompiler/madwifi/Pkgfile
parent30a43a5f0b6c3caeb09ff1e9201be1863b9a09d2 (diff)
downloadnutyx-pakxe-c61c4e638c3aac8dee104ebd5ace77bcf59adafd.tar.gz
nutyx-pakxe-c61c4e638c3aac8dee104ebd5ace77bcf59adafd.tar.bz2
nutyx-pakxe-c61c4e638c3aac8dee104ebd5ace77bcf59adafd.tar.xz
nutyx-pakxe-c61c4e638c3aac8dee104ebd5ace77bcf59adafd.zip
maj madwidi#0.9.4.4132-1
Diffstat (limited to 'acompiler/madwifi/Pkgfile')
-rwxr-xr-xacompiler/madwifi/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/acompiler/madwifi/Pkgfile b/acompiler/madwifi/Pkgfile
new file mode 100755
index 000000000..8cd7f93ca
--- /dev/null
+++ b/acompiler/madwifi/Pkgfile
@@ -0,0 +1,27 @@
+# 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
+}