diff options
author | Erik Hanson <erik@slackbuilds.org> | 2014-10-24 16:07:54 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-25 08:19:20 +0700 |
commit | 14a68c585d0f6cb19f028e81de5aa9d6f29dce8b (patch) | |
tree | 075b8b30505047401ffbcecfa67bf7ea4953caa6 | |
parent | 4c8c317bf1f7c5c52485e056582a6a4cfc584caf (diff) | |
download | slackbuilds-14a68c585d0f6cb19f028e81de5aa9d6f29dce8b.tar.gz |
games/qmc2: Updated for verion 0.45.
Now builds both qmc2-sdlmame and qmc2-sdlmess, thanks to
Francesco Zucca for the information.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r-- | games/qmc2/qmc2.SlackBuild | 23 | ||||
-rw-r--r-- | games/qmc2/qmc2.info | 6 |
2 files changed, 16 insertions, 13 deletions
diff --git a/games/qmc2/qmc2.SlackBuild b/games/qmc2/qmc2.SlackBuild index 5afb17cea8..ea952f8c51 100644 --- a/games/qmc2/qmc2.SlackBuild +++ b/games/qmc2/qmc2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for Google QMC2 +# Slackware build script for QMC2 # Copyright 2010-2014 Erik Hanson, Minneapolis, MN, USA # All rights reserved. @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qmc2 -VERSION=${VERSION:-0.44} +VERSION=${VERSION:-0.45} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,12 +42,16 @@ 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" else SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -eu @@ -65,15 +69,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CXX_FLAGS="$SLKCFLAGS" \ -make \ - PREFIX=/usr \ - PRETTY=0 \ - MACHINE=$ARCH +CXX_FLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ +make EMU=MESS PREFIX=/usr PRETTY=0 MACHINE=$ARCH +make install EMU=MESS PREFIX=/usr DESTDIR=$PKG -make install \ - PREFIX=/usr \ - DESTDIR=$PKG +make clean +CXX_FLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ +make EMU=MAME PREFIX=/usr PRETTY=0 MACHINE=$ARCH +make install EMU=MAME PREFIX=/usr DESTDIR=$PKG find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \ | xargs strip --strip-unneeded 2> /dev/null diff --git a/games/qmc2/qmc2.info b/games/qmc2/qmc2.info index 781d9792e2..850db385e6 100644 --- a/games/qmc2/qmc2.info +++ b/games/qmc2/qmc2.info @@ -1,8 +1,8 @@ PRGNAM="qmc2" -VERSION="0.44" +VERSION="0.45" HOMEPAGE="http://qmc2.arcadehits.net/wordpress/" -DOWNLOAD="http://downloads.sourceforge.net/qmc2/qmc2-0.44.tar.bz2" -MD5SUM="398db0bc2453fccca33eb064cf9f4bd8" +DOWNLOAD="http://downloads.sourceforge.net/qmc2/qmc2-0.45.tar.bz2" +MD5SUM="7d1b4f0742fe00e25fe951f15c2ee4a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |