From 18df0e4d02357b15bef8e65b12167a11447f5273 Mon Sep 17 00:00:00 2001 From: xaizek Date: Sat, 21 Dec 2024 06:15:32 +0700 Subject: [PATCH] libraries/microsoft-gsl: Updated for version 4.1.0. --- libraries/microsoft-gsl/microsoft-gsl.SlackBuild | 11 +++-------- libraries/microsoft-gsl/microsoft-gsl.info | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/libraries/microsoft-gsl/microsoft-gsl.SlackBuild b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild index ed091acc2c5..dd69e16db37 100644 --- a/libraries/microsoft-gsl/microsoft-gsl.SlackBuild +++ b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=microsoft-gsl -VERSION=${VERSION:-4.0.0} +VERSION=${VERSION:-4.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,19 +49,14 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" elif [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -69,8 +64,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf GSL-$VERSION -tar xvf $CWD/GSL-$VERSION.tar.gz +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd GSL-$VERSION chown -R root:root . find -L . \ diff --git a/libraries/microsoft-gsl/microsoft-gsl.info b/libraries/microsoft-gsl/microsoft-gsl.info index 3b479a0d9bf..0b4939a2af4 100644 --- a/libraries/microsoft-gsl/microsoft-gsl.info +++ b/libraries/microsoft-gsl/microsoft-gsl.info @@ -1,8 +1,8 @@ PRGNAM="microsoft-gsl" -VERSION="4.0.0" +VERSION="4.1.0" HOMEPAGE="https://github.com/microsoft/GSL" -DOWNLOAD="https://github.com/microsoft/GSL/archive/v4.0.0/GSL-4.0.0.tar.gz" -MD5SUM="4b1a5f39c5f489d2bdf3bd352548907d" +DOWNLOAD="https://github.com/microsoft/GSL/archive/v4.1.0/microsoft-gsl-4.1.0.tar.gz" +MD5SUM="7e6883a254e73a8b2368a0d26efe68a7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""