summaryrefslogtreecommitdiffstats
path: root/libraries/double-conversion
diff options
context:
space:
mode:
author Steven Voges <svoges.sbo@gmail.com>2023-03-31 19:00:13 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-01 09:14:17 +0700
commitf2b784a3cc25e745314583f03ccbb68e2c7402f0 (patch)
tree3653ac01ab21ac3636d84362076c7f9f7dc8c3d3 /libraries/double-conversion
parent5796ab7d617e34af1a5a374c4990b0c787136b80 (diff)
downloadslackbuilds-f2b784a3cc25e745314583f03ccbb68e2c7402f0.tar.gz
slackbuilds-f2b784a3cc25e745314583f03ccbb68e2c7402f0.tar.xz
libraries/double-conversion: Updated for v 3.2.1. New maintainer.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/double-conversion')
-rw-r--r--libraries/double-conversion/README7
-rw-r--r--libraries/double-conversion/double-conversion.SlackBuild13
-rw-r--r--libraries/double-conversion/double-conversion.info10
-rw-r--r--libraries/double-conversion/slack-desc14
4 files changed, 23 insertions, 21 deletions
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 <Oregon, USA>
# 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: