From f2b784a3cc25e745314583f03ccbb68e2c7402f0 Mon Sep 17 00:00:00 2001 From: Steven Voges Date: Fri, 31 Mar 2023 19:00:13 +0100 Subject: libraries/double-conversion: Updated for v 3.2.1. New maintainer. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- libraries/double-conversion/README | 7 ++++--- libraries/double-conversion/double-conversion.SlackBuild | 13 +++++++------ libraries/double-conversion/double-conversion.info | 10 +++++----- libraries/double-conversion/slack-desc | 14 +++++++------- 4 files changed, 23 insertions(+), 21 deletions(-) (limited to 'libraries/double-conversion') diff --git a/libraries/double-conversion/README b/libraries/double-conversion/README index 2357add844..058f4fed14 100644 --- a/libraries/double-conversion/README +++ b/libraries/double-conversion/README @@ -1,12 +1,13 @@ -Efficient binary-decimal and decimal-binary conversion routines for -IEEE doubles. +double-conversion provides efficient binary-decimal and decimal-binary +conversion routines for IEEE doubles. The library consists of efficient conversion routines that have been extracted from the V8 JavaScript engine. The code has been refactored and improved so that it can be used more easily in other projects. There is extensive documentation in - double-conversion/double-conversion.h + double-conversion/string-to-double.h + double-conversion/double-to-string.h Other examples can be found in test/cctest/test-conversions.cc diff --git a/libraries/double-conversion/double-conversion.SlackBuild b/libraries/double-conversion/double-conversion.SlackBuild index e27a227b36..b0f6ec81b4 100644 --- a/libraries/double-conversion/double-conversion.SlackBuild +++ b/libraries/double-conversion/double-conversion.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for Google double-conversion +# Copyright 2023 Steven Voges # Copyright 2016 Andre Barboza, Belo Horizonte - Brazil # All rights reserved. # @@ -25,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=double-conversion -VERSION=${VERSION:-3.0.0} +VERSION=${VERSION:-3.2.1} +TESTING=${TESTING:-OFF} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +40,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 @@ -85,7 +84,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DINSTALL_CMAKE_DIR=/usr/lib${LIBDIRSUFFIX}/cmake \ + -DBUILD_TESTING=$TESTING \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -95,7 +94,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -ra AUTHORS BUILD COPYING Changelog LICENSE README.md WORKSPACE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS BUILD COPYING Changelog LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/double-conversion/double-conversion.info b/libraries/double-conversion/double-conversion.info index abc95f0c75..4b0ce17975 100644 --- a/libraries/double-conversion/double-conversion.info +++ b/libraries/double-conversion/double-conversion.info @@ -1,10 +1,10 @@ PRGNAM="double-conversion" -VERSION="3.0.0" +VERSION="3.2.1" HOMEPAGE="https://github.com/google/double-conversion/" -DOWNLOAD="https://github.com/google/double-conversion/archive/v3.0.0/double-conversion-3.0.0.tar.gz" -MD5SUM="7c8e8bcaae6c9def83b7ee7396f18e5e" +DOWNLOAD="https://github.com/google/double-conversion/archive/v3.2.1/double-conversion-3.2.1.tar.gz" +MD5SUM="ccdcf76f6df822fb5488425e85707e55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andre Barboza" -EMAIL="bmg.andre@gmail.com" +MAINTAINER="Steven Voges" +EMAIL="svoges.sbo@gmail.com" diff --git a/libraries/double-conversion/slack-desc b/libraries/double-conversion/slack-desc index c8c7cd0fb7..a1c3df7809 100644 --- a/libraries/double-conversion/slack-desc +++ b/libraries/double-conversion/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -double-conversion: double-conversion (Efficient binary<->decimal double conversions) +double-conversion: double-conversion (Efficient binary<->decimal conversions) +double-conversion: +double-conversion: Efficient binary-decimal and decimal-binary conversion routines for +double-conversion: IEEE doubles. +double-conversion: +double-conversion: Homepage: https://github.com/google/double-conversion +double-conversion: double-conversion: -double-conversion: This project provides binary-decimal and decimal-binary routines for -double-conversion: IEEE doubles. -double-conversion: The library consists of efficient conversion routines that have been -double-conversion: extracted from the V8 JavaScript engine. The code has been refactored -double-conversion: and improved so that it can be used more easily in other projects. double-conversion: double-conversion: -double-conversion: https://github.com/google/double-conversion/ double-conversion: -- cgit v1.2.3-65-gdbad