diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:37:07 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:37:07 +0200 |
commit | 92dbd5ad20f95de419c78f31c0979766cd821f0e (patch) | |
tree | 0c254eb74e4948c9e490fbdc0fba988f66a8e48c /network/madwifi-driver/madwifi-driver.SlackBuild | |
parent | 714cae15e0f96e977a5da0160be759d49347803d (diff) | |
download | slackbuilds-92dbd5ad20f95de419c78f31c0979766cd821f0e.tar.gz |
network/madwifi-driver: Updated for version 0.9.4
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} |