diff options
author | orbea <orbea@riseup.net> | 2019-12-22 14:03:37 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-31 18:06:28 +0700 |
commit | 6adb19e6c5b48da4db7deb22af59e4b5b8845aa4 (patch) | |
tree | 00e3e56f054eabd1154e45e5aa0f0f2a9b0c235c /libraries/glfw3 | |
parent | 990227ed36cc2249f2aeb8c0e5b43a4703cc9287 (diff) |
libraries/glfw3: Fix download URL + i486=>i586.
Diffstat (limited to 'libraries/glfw3')
-rw-r--r-- | libraries/glfw3/glfw3.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/glfw3/glfw3.info | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild index 29af6065992a..4fb8c8f48674 100644 --- a/libraries/glfw3/glfw3.SlackBuild +++ b/libraries/glfw3/glfw3.SlackBuild @@ -31,7 +31,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ diff --git a/libraries/glfw3/glfw3.info b/libraries/glfw3/glfw3.info index 4c365a3564aa..5be32548acd5 100644 --- a/libraries/glfw3/glfw3.info +++ b/libraries/glfw3/glfw3.info @@ -1,7 +1,7 @@ PRGNAM="glfw3" VERSION="3.3" HOMEPAGE="https://www.glfw.org/" -DOWNLOAD="https://github.com/glfw/glfw/archive/3.3/glfw3-3.3.tar.gz" +DOWNLOAD="https://github.com/glfw/glfw/archive/3.3/glfw-3.3.tar.gz" MD5SUM="5be03812f5d109817e6558c3fab7bbe1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |