aboutsummaryrefslogtreecommitdiff
path: root/games/Scorched3D
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
parent6c179e70630da6fab3ef26dc73930f5ab64d7123 (diff)
games/Scorched3D: Updated for version 42.1
Diffstat (limited to 'games/Scorched3D')
-rw-r--r--games/Scorched3D/Scorched3D.SlackBuild8
-rw-r--r--games/Scorched3D/Scorched3D.info2
2 files changed, 8 insertions, 2 deletions
diff --git a/games/Scorched3D/Scorched3D.SlackBuild b/games/Scorched3D/Scorched3D.SlackBuild
index 4b5a58f2f4dd..aef96132e0ea 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}
diff --git a/games/Scorched3D/Scorched3D.info b/games/Scorched3D/Scorched3D.info
index 41da071d564b..4ca1377360c0 100644
--- a/games/Scorched3D/Scorched3D.info
+++ b/games/Scorched3D/Scorched3D.info
@@ -2,7 +2,9 @@ PRGNAM="Scorched3D"
VERSION="42.1"
HOMEPAGE="http://www.scorched3d.co.uk"
DOWNLOAD="http://downloads.sourceforge.net/scorched3d/Scorched3D-42.1-src.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="e24867615568ef541a291a4813fcbdae"
+MD5SUM_x86_64=""
MAINTAINER="ppr:kut"
EMAIL="pprkut@liwjatan.at"
APPROVED="chess,rworkman"