diff options
Diffstat (limited to 'madwifi/build/madwifi.SlackBuild')
-rwxr-xr-x | madwifi/build/madwifi.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/madwifi/build/madwifi.SlackBuild b/madwifi/build/madwifi.SlackBuild index 825517b1..dc8190d9 100755 --- a/madwifi/build/madwifi.SlackBuild +++ b/madwifi/build/madwifi.SlackBuild @@ -15,7 +15,7 @@ mkdir -p $PKG KERNELARCH=i686 KERNELVERSION=${KERNELVERSION:-`/bin/uname -r`} KERNELSRC="/lib/modules/${KERNELVERSION}/build" -VERSION=20050707 +VERSION=20051007 ARCH=i486 BUILD=2 @@ -52,10 +52,17 @@ make clean symlinks oldconfig dep cd - cd $PRGNAM +# The wpa_supplicant/madwifi/dhcp problem patch: +patch -p0 < $CWD/ieee80211_wireless.c.patch + # Build the kernel modules and the utilities # enable the SOFTLED with -DSOFTLED export COPTS="$COPTS -DSOFTLED" +# If you need another rate control module than ath_rate_sample (the default), +# you'll need to set the ATH_RATE variable before starting make. For instance, +# (read the INSTALL file why you could want this) to build ath_rate_amrr, set: +# export ATH_RATE=ath_rate/amrr make clean all KERNELPATH=${KERNELSRC} KERNELRELEASE=${KERNELVERSION} make -C tools @@ -87,8 +94,8 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh # Substitute correct versions -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc -perl -pi -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/slack-desc +sed -i -e "s#\@\@KERNELVERS\@\@#${KERNELVERSION}#g" $PKG/install/doinst.sh cd $PKG makepkg -l y -c n $TMP/$PRGNAM-${VERSION}_${KERNELVERSION}-$ARCH-$BUILD.tgz |