summaryrefslogtreecommitdiff
path: root/games/openclonk/openclonk.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-02-15 10:14:42 +0200
committerDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-02-15 10:14:42 +0200
commit15ad456d8cb546e14026f413643219f6775fdccf (patch)
tree84b883ebc13fccbad9e045b113b4d556f84c6823 /games/openclonk/openclonk.SlackBuild
parentf65c79aed48114b6708158b8fba421d22c16cd82 (diff)
downloadslackbuilds-15ad456d8cb546e14026f413643219f6775fdccf.tar.gz
games/openclonk: Updated for version 7.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/openclonk/openclonk.SlackBuild')
-rw-r--r--games/openclonk/openclonk.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/openclonk/openclonk.SlackBuild b/games/openclonk/openclonk.SlackBuild
index 77383ba2be..95d22ad47c 100644
--- a/games/openclonk/openclonk.SlackBuild
+++ b/games/openclonk/openclonk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openclonk
-# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# 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=openclonk
-VERSION=${VERSION:-6.0}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,13 +69,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 {} \;
-patch -p1 < $CWD/boost.patch
+patch -p1 < $CWD/findreadline.patch
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DREADLINE_LIBRARIES="/usr/lib$LIBDIRSUFFIX" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make