mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
games/mupen64plus: Miscellaneous cleanups.
This commit is contained in:
parent
54adf26203
commit
b58ab7cf3c
2 changed files with 16 additions and 6 deletions
|
@ -6,6 +6,3 @@ signal co-processor (RSP), and input.
|
|||
|
||||
By default the gtk2 GUI will be built. To build the Qt4 GUI pass GTK2=no
|
||||
to the script.
|
||||
|
||||
libsamplerate is an optional (but recommended) dependency.
|
||||
It is also available from SlackBuilds.org
|
|
@ -3,7 +3,6 @@
|
|||
# Slackware build script for Mupen64Plus
|
||||
|
||||
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||
# Modified by M.Dinslage
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,12 +22,23 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Modified by M.Dinslage
|
||||
|
||||
PRGNAM=mupen64plus
|
||||
VERSION=${VERSION:-1.5}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -43,6 +53,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
if [ "${GTK2:-yes}" = "yes" ]; then
|
||||
|
@ -55,7 +68,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
rm -rf Mupen64Plus-1-5-src
|
||||
tar xzvf $CWD/Mupen64Plus-1-5-src.tar.gz || exit 1
|
||||
tar xvf $CWD/Mupen64Plus-1-5-src.tar.gz || exit 1
|
||||
cd Mupen64Plus-1-5-src || exit 1
|
||||
patch -p1 < $CWD/gcc4.4-build.patch
|
||||
chown -R root:root .
|
||||
|
|
Loading…
Reference in a new issue