| Name |
double-conversion |
| Description |
Binary-decimal and decimal-binary routines for IEEE doubles |
| Version |
3.3.1-r0 |
| Package Base |
double-conversion |
| Homepage |
https://github.com/google/double-conversion |
| Maintainers |
['Marian Buschsieweke <marian.buschsieweke@posteo.net>'] |
| Contributors |
[] |
| Distro-repo |
https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/double-conversion |
| Sources |
['$pkgname-3.3.1-r0.tar.gz::https://github.com/google/double-conversion/archive/v3.3.1-r0.tar.gz'] |
| Dependencies |
['libc.musl-x86_64.so.1', 'libgcc_s.so.1', 'libstdc++.so.6'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['cmake', 'samurai'] |
| Provides |
['so:libdouble-conversion.so.3=3.3.0'] |
| Builddate |
14-03-2025 01:08:31 |
| Architecture |
x86_64 |
| Distro-Version |
v3.22 |
| Licenses |
['BSD-3-Clause'] |
| Hash |
Q1PKUE70axgGNMjtq87d8aC4lfwbk= |
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
pkgname=double-conversion
pkgver=3.3.1
pkgrel=0
pkgdesc="Binary-decimal and decimal-binary routines for IEEE doubles"
url="https://github.com/google/double-conversion"
arch="all"
license="BSD-3-Clause"
makedepends="cmake samurai"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz"
case "$CARCH" in
x86) options="$options !check" ;; # SIGABRT in tests
esac
build() {
CFLAGS="$CFLAGS -O2 -flto=auto" \
CXXFLAGS="$CXXFLAGS -O2 -flto=auto" \
cmake -B build -G Ninja \
-DBUILD_TESTING=ON \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON
cmake --build build
}
check() {
cd build
test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
60cab2fe623204cfa8737150e6ffcae091266180461dba377231e4fe8dccf712e74c643cd317b62266240ab82f1c0f820cf825038d627934d2dd0af1426f0cca double-conversion-3.3.1.tar.gz
"