summaryrefslogtreecommitdiffstats
path: root/base/madwifi
diff options
context:
space:
mode:
authorSibelle <lesibel@ree.fr>2010-05-31 11:13:48 +0200
committerSibelle <lesibel@ree.fr>2010-05-31 11:13:48 +0200
commite3128a86e5e1690782755ed0e361c9e754bf7e22 (patch)
tree9ffc27eb760888c2481df02e5443e7dfe1599a4f /base/madwifi
parenta8ecee5bbd60c557f367ac7496576a32f19a6cc9 (diff)
downloadnutyx-pakxe-e3128a86e5e1690782755ed0e361c9e754bf7e22.tar.gz
nutyx-pakxe-e3128a86e5e1690782755ed0e361c9e754bf7e22.tar.bz2
nutyx-pakxe-e3128a86e5e1690782755ed0e361c9e754bf7e22.tar.xz
nutyx-pakxe-e3128a86e5e1690782755ed0e361c9e754bf7e22.zip
Maj de madwifi#0.9.4.4128-1
Diffstat (limited to 'base/madwifi')
-rw-r--r--base/madwifi/.md5sum2
-rwxr-xr-xbase/madwifi/Pkgfile23
2 files changed, 19 insertions, 6 deletions
diff --git a/base/madwifi/.md5sum b/base/madwifi/.md5sum
index b105963a5..99827395f 100644
--- a/base/madwifi/.md5sum
+++ b/base/madwifi/.md5sum
@@ -1 +1 @@
-a720a20264b312c0ff906b9888bb49ae madwifi-0.9.4.4119.tar.bz2
+9d4188bba2babbb4376bb45043cdf4d4 madwifi-trunk-r4128-20100325.tar.gz
diff --git a/base/madwifi/Pkgfile b/base/madwifi/Pkgfile
index 316783588..f8d5c06f8 100755
--- a/base/madwifi/Pkgfile
+++ b/base/madwifi/Pkgfile
@@ -1,16 +1,29 @@
# Description: Modules kernel pour les cartes wifi à base de Atheros
# URL: http://madwifi.org
# Maintainer: NuTyX core team
-# Packager: guy
+# Packager: guy
name=madwifi
-version=0.9.4.4119
+
+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=(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
- sed -i -e 's/-Werror//g' Makefile.inc
+ 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
}