summaryrefslogtreecommitdiff
path: root/madwifi/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2011-01-26 13:14:30 +0100
committerJuergen Daubert <jue@jue.li>2011-01-26 13:14:30 +0100
commita68932aa6e033d7468d820cfdc8aab14ebf76631 (patch)
tree29ae9e3660726c1896978f711bb06f839d57d184 /madwifi/Pkgfile
parentc06ee0711ab23e09b6e1feb6e91ca823bf05ea58 (diff)
downloadopt-a68932aa6e033d7468d820cfdc8aab14ebf76631.tar.gz
opt-a68932aa6e033d7468d820cfdc8aab14ebf76631.tar.xz
madwifi: update to 0.9.4-r4133
Diffstat (limited to 'madwifi/Pkgfile')
-rw-r--r--madwifi/Pkgfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/madwifi/Pkgfile b/madwifi/Pkgfile
index b9e349004..e8cdb5833 100644
--- a/madwifi/Pkgfile
+++ b/madwifi/Pkgfile
@@ -4,12 +4,13 @@
# Depends on: sharutils
name=madwifi
-version=0.9.4
-release=2
-source=(http://dl.sf.net/$name/$name-$version.tar.bz2)
+version=0.9.4-r4133
+release=1
+source=(http://jue.li/crux/files/$name-$version.tar.xz)
build(){
- cd $name* && make KERNELPATH=/lib/modules/$(uname -r)/build
+ cd $name-$version
+ sed -i '/^WARNINGS/s/-Werror//' Makefile.inc
+ make
make DESTDIR=$PKG BINDIR=/usr/bin MANDIR=/usr/man install
- find $PKG/lib/modules/ -type f | xargs chmod 0644
}

Generated by cgit