diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2023-11-12 09:53:09 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-12 13:17:53 +0700 |
commit | e06c6665593b0df13e5f329adc4e64c583b17ca2 (patch) | |
tree | c867510f530d857841bdb27f47f0f1ee56eceeb3 /libraries/opensaml/opensaml.SlackBuild | |
parent | 4e4d1fe091f530b3718473755ad64bcc2c1f348d (diff) |
libraries/opensaml: Updated for version 3.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/opensaml/opensaml.SlackBuild')
-rw-r--r-- | libraries/opensaml/opensaml.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/opensaml/opensaml.SlackBuild b/libraries/opensaml/opensaml.SlackBuild index 762a928f64f14..d4f205ba2a39e 100644 --- a/libraries/opensaml/opensaml.SlackBuild +++ b/libraries/opensaml/opensaml.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for OpenSAML -# Copyright 2013-2018 Thibaut Notteboom, Paris, FRANCE +# Copyright 2013-2023 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=opensaml -VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.2.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,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 @@ -59,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -80,7 +80,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS -std=c++14" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -89,11 +89,11 @@ CXXFLAGS="$SLKCFLAGS -std=c++14" \ make make install-strip DESTDIR=$PKG +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + mv $PKG/usr/share/doc $PKG/usr/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |