summaryrefslogtreecommitdiff
path: root/libraries/glfw3/glfw3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/glfw3/glfw3.SlackBuild')
-rw-r--r--libraries/glfw3/glfw3.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild
index dd9194c695..29af606599 100644
--- a/libraries/glfw3/glfw3.SlackBuild
+++ b/libraries/glfw3/glfw3.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for glfw3
# Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA
-# Copyright 2018 Hunter Sezen California, USA
+# Copyright 2018-2019 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=glfw3
SRCNAM=${PRGNAM%3}
-VERSION=${VERSION:-3.2.1}
+VERSION=${VERSION:-3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,15 @@ 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 {} \;
-# glfw3 doesn'5 install documentation or examples so don't build them.
+# glfw3 doesn't install documentation or examples so don't build them.
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DBUILD_SHARED_LIBS=1 \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DBUILD_SHARED_LIBS=ON \
-DGLFW_BUILD_EXAMPLES=OFF \
-DGLFW_BUILD_DOCS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
@@ -91,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install