summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-19 18:34:04 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:05:14 +0700
commit22719af1605e41cce157800efa56f611c05b6a3d (patch)
treed8735dd6890ad23621363ed474e30d2d52cd32f8
parentec1511fdb7c954e2226cb46c9793289c63b6765f (diff)
downloadslackbuilds-22719af1605e41cce157800efa56f611c05b6a3d.tar.gz
libraries/SFML: Update script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/SFML/SFML.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild
index b6d230131c..83ed02b75c 100644
--- a/libraries/SFML/SFML.SlackBuild
+++ b/libraries/SFML/SFML.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=SFML
VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -76,6 +76,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DSFML_INSTALL_PKGCONFIG_FILES=1 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG