summaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2010-05-13 00:27:28 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:28 +0200
commite8f9e1aefed72710a3a031e5716d6135a89dac0b (patch)
tree727322dc2df46a3d4a041d76b86676340c6b5620 /games/vbam/vbam.SlackBuild
parentf2cbc23e6f100f40f5e8ac72a8528d10ae646edf (diff)
downloadslackbuilds-e8f9e1aefed72710a3a031e5716d6135a89dac0b.tar.gz
games/vbam: Updated for version r856
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index 477b9bb9fe..fb3fb9d7aa 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -31,10 +31,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
rm -rf $PKG
@@ -77,4 +80,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}