aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:26:39 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:26:39 +0200
commita1d419c1d668b97ade3ee59535f486acf960a6eb (patch)
treec9b3f59857c67f22c1a4f85a2473449123375b0a /games
parentce1cc032ade015b88b54f77746a91de44479be00 (diff)
games/maelstrom: Updated for version 3.0.6
Diffstat (limited to 'games')
-rw-r--r--games/maelstrom/maelstrom.SlackBuild9
-rw-r--r--games/maelstrom/maelstrom.info2
2 files changed, 9 insertions, 2 deletions
diff --git a/games/maelstrom/maelstrom.SlackBuild b/games/maelstrom/maelstrom.SlackBuild
index 188176ce8f3cc..22defd6e6fd53 100644
--- a/games/maelstrom/maelstrom.SlackBuild
+++ b/games/maelstrom/maelstrom.SlackBuild
@@ -23,10 +23,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
@@ -51,7 +54,9 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --bindir=/usr/games
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --bindir=/usr/games \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -90,4 +95,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/maelstrom/maelstrom.info b/games/maelstrom/maelstrom.info
index 38d31bf065966..e22e70d8d55fd 100644
--- a/games/maelstrom/maelstrom.info
+++ b/games/maelstrom/maelstrom.info
@@ -2,7 +2,9 @@ PRGNAM="maelstrom"
VERSION="3.0.6"
HOMEPAGE="http://www.devolution.com/~slouken/Maelstrom/"
DOWNLOAD="http://www.devolution.com/~slouken/Maelstrom/src/Maelstrom-3.0.6.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="4fbeb6070eebdf161bd156b083b8804e"
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"