summaryrefslogtreecommitdiffstats
path: root/libraries/glfw3/glfw3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/glfw3/glfw3.SlackBuild')
-rw-r--r--libraries/glfw3/glfw3.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild
index 80d178e5fd..8a03956876 100644
--- a/libraries/glfw3/glfw3.SlackBuild
+++ b/libraries/glfw3/glfw3.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for glfw3
-# Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA
+# Copyright 2023-2024 Steven Voges <Oregon, USA>
# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=glfw3
SRCNAM=${PRGNAM%3}
-VERSION=${VERSION:-3.3.2}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,7 +80,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# glfw3 doesn't install documentation or examples so don't build them.
-
mkdir -p build
cd build
cmake \
@@ -101,7 +98,9 @@ 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 LICENSE.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install