diff options
Diffstat (limited to 'games/supertuxkart/supertuxkart.SlackBuild')
-rw-r--r-- | games/supertuxkart/supertuxkart.SlackBuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild index 22b195d250..049a41e9ba 100644 --- a/games/supertuxkart/supertuxkart.SlackBuild +++ b/games/supertuxkart/supertuxkart.SlackBuild @@ -1,10 +1,11 @@ #!/bin/sh # Slackware build script for supertuxkart -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil +# Copyright 2014-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=supertuxkart -VERSION=${VERSION:-0.9.2} +VERSION=${VERSION:-0.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +43,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS CHANGELOG.md COPYING INSTALL.md README.md SVN-CONFIG TODO.md" +DOCS="CHANGELOG.md COPYING README.md" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -58,6 +59,12 @@ else LIBDIRSUFFIX="" fi +if [ "${RECORDER:-no}" != "no" ]; then + recorder="-DBUILD_RECORDER=1" +else + recorder="-DBUILD_RECORDER=0" +fi + set -e rm -rf $PKG @@ -73,16 +80,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 {} \; -## as of v0.9+ the irrclicht library can now be passed as a -## flag to cmake, instead of being built separately ;-) mkdir -p build cd build cmake \ - -DIRRLICHT_DIR="lib/irrlicht" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release .. + -DCMAKE_BUILD_TYPE=Release \ + $recorder .. make VERBOSE=1 make install DESTDIR=$PKG cd .. |