aboutsummaryrefslogtreecommitdiff
path: root/libraries/xml-security-c
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2023-11-12 09:58:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-12 13:11:27 +0700
commit9c6ac676edea72502c27703ea5b1346faafe6ac5 (patch)
tree577216eb8b049872bdc576b76ce56e2f1d99523d /libraries/xml-security-c
parent0ba6bc31848d37eba81e9a96b8dda1eeda8ee443 (diff)
libraries/xml-security-c: Updated for version 2.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/xml-security-c')
-rw-r--r--libraries/xml-security-c/xml-security-c.SlackBuild16
-rw-r--r--libraries/xml-security-c/xml-security-c.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/libraries/xml-security-c/xml-security-c.SlackBuild b/libraries/xml-security-c/xml-security-c.SlackBuild
index 8575619a5d3a..123ad3cc67d2 100644
--- a/libraries/xml-security-c/xml-security-c.SlackBuild
+++ b/libraries/xml-security-c/xml-security-c.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for XML-Security-C
-# 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=xml-security-c
-VERSION=${VERSION:-2.0.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.0.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=""
@@ -95,14 +95,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGELOG.txt INSTALL.txt LICENSE.txt NOTICE.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
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/xml-security-c/xml-security-c.info b/libraries/xml-security-c/xml-security-c.info
index 5a381a72646a..1954bde982b2 100644
--- a/libraries/xml-security-c/xml-security-c.info
+++ b/libraries/xml-security-c/xml-security-c.info
@@ -1,8 +1,8 @@
PRGNAM="xml-security-c"
-VERSION="2.0.2"
+VERSION="2.0.4"
HOMEPAGE="http://santuario.apache.org/cindex.html"
-DOWNLOAD="https://ponce.cc/slackware/sources/repo/xml-security-c-2.0.2.tar.gz"
-MD5SUM="656620cb91ec8802ecd6997379e7e4e4"
+DOWNLOAD="http://archive.apache.org/dist/santuario/c-library/xml-security-c-2.0.4.tar.gz"
+MD5SUM="4ed82d9a2279b0dc1d6065ddaf528639"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xerces-c"