Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libraries/microsoft-gsl: Updated for version 4.1.0. #9166

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions libraries/microsoft-gsl/microsoft-gsl.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -49,28 +49,23 @@ 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

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 . \
Expand Down
6 changes: 3 additions & 3 deletions libraries/microsoft-gsl/microsoft-gsl.info
Original file line number Diff line number Diff line change
@@ -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=""
Expand Down