diff options
Diffstat (limited to 'libraries/xml-security-c/xml-security-c.SlackBuild')
-rw-r--r-- | libraries/xml-security-c/xml-security-c.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/xml-security-c/xml-security-c.SlackBuild b/libraries/xml-security-c/xml-security-c.SlackBuild index 8575619a5d..123ad3cc67 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 |