From e06c6665593b0df13e5f329adc4e64c583b17ca2 Mon Sep 17 00:00:00 2001 From: Thibaut Notteboom Date: Sun, 12 Nov 2023 09:53:09 +0700 Subject: libraries/opensaml: Updated for version 3.2.1. Signed-off-by: Willy Sudiarto Raharjo --- libraries/opensaml/opensaml.SlackBuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libraries/opensaml/opensaml.SlackBuild') 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 -- cgit v1.2.3