summaryrefslogtreecommitdiff
path: root/network/b43-fwcutter/b43-fwcutter.SlackBuild
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2010-05-13 00:35:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:46 +0200
commitde354187fef2f8ca4a44b8b661f31c3a173a88d0 (patch)
tree02edde102189d8da0117569e7c4fbfc03ef05fd5 /network/b43-fwcutter/b43-fwcutter.SlackBuild
parentb541485afd05e6803ed7583a3bc2bdcd1a68d273 (diff)
downloadslackbuilds-de354187fef2f8ca4a44b8b661f31c3a173a88d0.tar.gz
network/b43-fwcutter: Updated for version 012
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}