summaryrefslogtreecommitdiff
path: root/games/Scorched3D/Scorched3D.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:25:54 +0200
committerChess Griffin <chess@slackbuilds.org>2010-05-13 00:25:54 +0200
commit5963015b2455c7e6e2527bbb3e6a986a68156c2b (patch)
tree454b377df37fe26d515bf0588c07d7cd2362cea1 /games/Scorched3D/Scorched3D.SlackBuild
parent6c179e70630da6fab3ef26dc73930f5ab64d7123 (diff)
downloadslackbuilds-5963015b2455c7e6e2527bbb3e6a986a68156c2b.tar.gz
games/Scorched3D: Updated for version 42.1
Diffstat (limited to 'games/Scorched3D/Scorched3D.SlackBuild')
-rw-r--r--games/Scorched3D/Scorched3D.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/Scorched3D/Scorched3D.SlackBuild b/games/Scorched3D/Scorched3D.SlackBuild
index 4b5a58f2f4..aef96132e0 100644
--- a/games/Scorched3D/Scorched3D.SlackBuild
+++ b/games/Scorched3D/Scorched3D.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=Scorched3D
VERSION=42.1
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -35,10 +35,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
@@ -62,6 +65,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--datadir=/usr/share/scorched3d \
@@ -89,4 +93,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}