summaryrefslogtreecommitdiff
path: root/games/quakeforge/quakeforge.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 17:22:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:29 -0500
commitb6abf36e48a35ca3dbd959a0cbf3a4384c717110 (patch)
treed6e7ed205668cc83f6aef4c0f54f708ce82983b2 /games/quakeforge/quakeforge.SlackBuild
parentf7ece52bf84baa6b9a65b7228c214e07e0805435 (diff)
downloadslackbuilds-b6abf36e48a35ca3dbd959a0cbf3a4384c717110.tar.gz
games/quakeforge: Updated for version 0.7.0, forced -j1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 \