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>
This commit is contained in:
Steven Voges 2023-03-31 19:00:13 +01:00 committed by Willy Sudiarto Raharjo
parent 5796ab7d61
commit f2b784a3cc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 23 additions and 21 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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: