aboutsummaryrefslogtreecommitdiff
path: root/libraries/xmltooling
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2023-11-12 09:58:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-12 13:13:02 +0700
commit4e4d1fe091f530b3718473755ad64bcc2c1f348d (patch)
tree39fce02c115133711d6a1232d2ecd394d5961b95 /libraries/xmltooling
parent9c6ac676edea72502c27703ea5b1346faafe6ac5 (diff)
libraries/xmltooling: Updated for version 3.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/xmltooling')
-rw-r--r--libraries/xmltooling/xmltooling.SlackBuild18
-rw-r--r--libraries/xmltooling/xmltooling.info8
2 files changed, 13 insertions, 13 deletions
diff --git a/libraries/xmltooling/xmltooling.SlackBuild b/libraries/xmltooling/xmltooling.SlackBuild
index 059927decfb2..a92db2ab132e 100644
--- a/libraries/xmltooling/xmltooling.SlackBuild
+++ b/libraries/xmltooling/xmltooling.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for XMLTooling
-# Copyright 2012-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2012-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=xmltooling
-VERSION=${VERSION:-3.0.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.2.4}
+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
diff --git a/libraries/xmltooling/xmltooling.info b/libraries/xmltooling/xmltooling.info
index 709d38d92c83..3bd51e384c8a 100644
--- a/libraries/xmltooling/xmltooling.info
+++ b/libraries/xmltooling/xmltooling.info
@@ -1,10 +1,10 @@
PRGNAM="xmltooling"
-VERSION="3.0.4"
+VERSION="3.2.4"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/XMLTooling-C"
-DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.0.1/xmltooling-3.0.4.tar.gz"
-MD5SUM="b9519c1a61fc3a587cfdb1996e2b4fba"
+DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.2.1/xmltooling-3.2.4.tar.gz"
+MD5SUM="38ad83d393d3c290f133ce2d8f3b4630"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="log4shib xml-security-c"
+REQUIRES="log4cpp xml-security-c"
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"