diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2023-11-29 06:14:47 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-29 18:43:06 +0700 |
commit | 902b7ab99ae8b83b60ee6b6231c8ded0b78ef6d2 (patch) | |
tree | fd834631f297a05000adb5987a60f28acb61d436 /libraries/log4cplus | |
parent | 5368f2aa58b5f1e5fa24099f55fbcb3ac7b3d4b2 (diff) |
libraries/log4cplus: Updated for version 2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/log4cplus')
-rw-r--r-- | libraries/log4cplus/log4cplus.SlackBuild | 20 | ||||
-rw-r--r-- | libraries/log4cplus/log4cplus.info | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/libraries/log4cplus/log4cplus.SlackBuild b/libraries/log4cplus/log4cplus.SlackBuild index be25c60e7dc9..7f991f60aaaa 100644 --- a/libraries/log4cplus/log4cplus.SlackBuild +++ b/libraries/log4cplus/log4cplus.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for log4cplus -# Copyright 2016 Thibaut Notteboom, Paris, FRANCE +# Copyright 2016-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=log4cplus -VERSION=${VERSION:-1.2.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.1.0} +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="" @@ -87,19 +87,19 @@ CXXFLAGS="$SLKCFLAGS" \ --with-working-locale \ --build=$ARCH-slackware-linux -make -j9 +make make install DESTDIR=$PKG +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README.md REVISION TODO REVISION docs/ \ +cp -a AUTHORS COPYING ChangeLog LICENSE NEWS README.md REVISION TODO REVISION docs/ \ $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/log4cplus/log4cplus.info b/libraries/log4cplus/log4cplus.info index a908165dc777..d113fb727e34 100644 --- a/libraries/log4cplus/log4cplus.info +++ b/libraries/log4cplus/log4cplus.info @@ -1,8 +1,8 @@ PRGNAM="log4cplus" -VERSION="1.2.0" +VERSION="2.1.0" HOMEPAGE="https://sourceforge.net/p/log4cplus/wiki/Home/" -DOWNLOAD="http://downloads.sourceforge.net/log4cplus/log4cplus-1.2.0.tar.xz" -MD5SUM="efbfc0e55e3878f28f064fea5f967786" +DOWNLOAD="http://downloads.sourceforge.net/log4cplus/log4cplus-2.1.0.tar.xz" +MD5SUM="62928d480ebec1476fe74b900f2a1672" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |