diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:26:39 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:26:39 +0200 |
commit | a1d419c1d668b97ade3ee59535f486acf960a6eb (patch) | |
tree | c9b3f59857c67f22c1a4f85a2473449123375b0a /games/maelstrom/maelstrom.SlackBuild | |
parent | ce1cc032ade015b88b54f77746a91de44479be00 (diff) | |
download | slackbuilds-a1d419c1d668b97ade3ee59535f486acf960a6eb.tar.gz |
games/maelstrom: Updated for version 3.0.6
Diffstat (limited to 'games/maelstrom/maelstrom.SlackBuild')
-rw-r--r-- | games/maelstrom/maelstrom.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/maelstrom/maelstrom.SlackBuild b/games/maelstrom/maelstrom.SlackBuild index 188176ce8f..22defd6e6f 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} |