diff options
Diffstat (limited to 'network/madwifi-driver/madwifi-driver.SlackBuild')
-rw-r--r-- | network/madwifi-driver/madwifi-driver.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/network/madwifi-driver/madwifi-driver.SlackBuild b/network/madwifi-driver/madwifi-driver.SlackBuild index 3e41964c96..f7864c8f32 100644 --- a/network/madwifi-driver/madwifi-driver.SlackBuild +++ b/network/madwifi-driver/madwifi-driver.SlackBuild @@ -3,8 +3,7 @@ ## Slackware build script for madwifi-driver ## Written by hollywoodb (hollywoodb@fastmail.fm) -## Maintained by Robby Workman <rworkman@slackbuilds.org> -## Modified by Larry Hajali <larryhaja[at]gmail[dot]com> +## Maintained by Larry Hajali <larryhaja[at]gmail[dot]com> 9/25/09 KERNELVERSION=${KERNELVERSION:-$(uname -r)} KERNELPATH=${KERNELPATH:-/lib/modules/${KERNELVERSION}/build} @@ -12,7 +11,7 @@ KERNELPATH=${KERNELPATH:-/lib/modules/${KERNELVERSION}/build} PRGNAM=madwifi VERSION=0.9.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKG_NAME=madwifi-driver @@ -39,6 +38,11 @@ chmod -R u+w,go+r-w,a-s . patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.26.diff # Patch from: http://slackware.com/~alien/slackbuilds/madwifi/build/ patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.27.diff +# Patches to build madwifi on Slackware 13.0 +# Patch from: http://bugs.gentoo.org/show_bug.cgi?id=262761 +patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.29.diff +# Patch from: http://madwifi-project.org/changeset/3986 +patch -p1 < $CWD/patches/madwifi-0.9.4_kernel_2.6.30.diff KERNELPATH=$KERNELPATH KERNELRELEASE=$KERNELVERSION \ make modules @@ -53,7 +57,7 @@ cat $CWD/$PKG_NAME.SlackBuild > $PKG/usr/doc/$PKG_NAME-$PKG_VERSION/$PKG_NAME.Sl mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed s/_KERNEL_/$KERNELVERSION/ $CWD/doinst.sh > $PKG/install/doinst.sh +sed s/@KERNEL@/$KERNELVERSION/ $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |