aboutsummaryrefslogtreecommitdiff
path: root/libraries/SFGUI/SFGUI.SlackBuild
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-03-09 10:08:44 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 09:14:49 +0700
commita411dbf1c9a7920806b6d1b0e39eb78d4827ec80 (patch)
treea1e3ee9fa7444f57a3235b1e96450f691efe0693 /libraries/SFGUI/SFGUI.SlackBuild
parentacd3489be7b3dc734e2ed62cf1f6dce6107b6f24 (diff)
libraries/SFGUI: Updated for version d37b377.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/SFGUI/SFGUI.SlackBuild')
-rw-r--r--libraries/SFGUI/SFGUI.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild
index 327a3e856fc9c..ae3d1cfdf30e4 100644
--- a/libraries/SFGUI/SFGUI.SlackBuild
+++ b/libraries/SFGUI/SFGUI.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Slackware build script for SFGUI
-# Copyright 2014 klaatu@member.fsf.org
+# Copyright 2014-22 klaatu@member.fsf.org
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -12,7 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SFGUI
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-d37b377}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,7 +57,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=1 \
+ -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,7 +73,6 @@ sed -i '/#include <SFML\/Window\/Event.hpp>/a #include <limits>' src/SFGUI/Combo
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX="$LIBDIRSUFFIX" \