diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-05-04 01:55:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-04 01:55:56 +0700 |
commit | 6f2a3441921456e964b40c90d2386a3d68717efd (patch) | |
tree | 49777504bad99f9a93d1a568d14e8013217be9a8 /libraries/glfw3/glfw3.SlackBuild | |
parent | 8543371a7db4fb8b8de2faeaac8d430e23675eb6 (diff) |
libraries/glfw3: Updated for version 3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/glfw3/glfw3.SlackBuild')
-rw-r--r-- | libraries/glfw3/glfw3.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild index dd9194c695440..29af6065992a8 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 |