summaryrefslogtreecommitdiff
path: root/games/quakeforge/quakeforge.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/quakeforge/quakeforge.SlackBuild')
-rw-r--r--games/quakeforge/quakeforge.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild
index 1e688d1b1b..668209e3ee 100644
--- a/games/quakeforge/quakeforge.SlackBuild
+++ b/games/quakeforge/quakeforge.SlackBuild
@@ -3,7 +3,7 @@
# Brad Hermanson <apeitheo@gmail.com>
PRGNAM=quakeforge
-VERSION=0.6.2
+VERSION=0.7.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,6 +41,11 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+
+# A fix for version 0.7.0
+rm -fR $CWD/$PRGNAM-$VERSION/tools/io_mesh_qfmdl
+tar xvf $CWD/io_mesh_qfmdl-${VERSION}a.tar.bz2 -C $PRGNAM-$VERSION/tools/
+
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -60,7 +65,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+# Parallel builds are broken
+make -j1
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \