summaryrefslogtreecommitdiff
path: root/network/b43-fwcutter/b43-fwcutter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/b43-fwcutter/b43-fwcutter.SlackBuild')
-rw-r--r--network/b43-fwcutter/b43-fwcutter.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/b43-fwcutter/b43-fwcutter.SlackBuild b/network/b43-fwcutter/b43-fwcutter.SlackBuild
index 5ecb927d81..f42f62af7d 100644
--- a/network/b43-fwcutter/b43-fwcutter.SlackBuild
+++ b/network/b43-fwcutter/b43-fwcutter.SlackBuild
@@ -7,7 +7,7 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=b43-fwcutter
-VERSION=${VERSION:-011}
+VERSION=${VERSION:-012}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,10 +19,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -49,4 +52,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}