diff options
Diffstat (limited to 'games/megaglest/megaglest.SlackBuild')
-rw-r--r-- | games/megaglest/megaglest.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild index a2db4a23a3..39def44f6d 100644 --- a/games/megaglest/megaglest.SlackBuild +++ b/games/megaglest/megaglest.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for megaglest -# Copyright 2011-2015 Larry Hajali <larryhaj[at]gmail[dot]com> +# Copyright 2011-2016 Larry Hajali <larryhaj[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=megaglest -VERSION=${VERSION:-3.11.1} +VERSION=${VERSION:-3.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,9 +62,9 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-source-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-source-embedded-$VERSION.tar.xz -tar xvf $CWD/$PRGNAM-data-$VERSION.tar.xz -C $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-data-$VERSION.b1.tar.xz -C $PRGNAM-$VERSION cd $PRGNAM-$VERSION -find . -type l -exec rm -f '{}' \; +#find . -type l -exec rm -f '{}' \; chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -76,7 +76,8 @@ find -L . \ # script from upstream for Xvfb that creates a temporary *fake* framebuffer. install -D -m 0755 $CWD/xvfb-run $TMP/$SRCDIR/bin/xvfb-run export PATH="$PATH:$TMP/$SRCDIR/bin" -patch -p1 < $CWD/megaglest-3.9.0-help2man.patch +patch -p1 < $CWD/megaglest-help2man.patch +patch -p1 < $CWD/megaglest-underlink.patch mkdir build cd build @@ -85,8 +86,9 @@ cd build -DWANT_GIT_STAMP=OFF \ -DMEGAGLEST_BIN_INSTALL_PATH:PATH="games/" \ -DMEGAGLEST_MANPAGE_INSTALL_PATH:PATH="man/man6/" \ + -DWANT_USE_XercesC:BOOL=ON \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 |