# Description: Fast and exact implementation of the C++ from_chars functions for number types # URL: https://github.com/fastfloat/fast_float # Maintainer: Matt Housh, jaeger at crux dot ninja name=fast_float version=8.0.2 release=1 source=(https://github.com/fastfloat/fast_float/archive/v$version/$name-$version.tar.gz) build() { cmake -S $name-$version -B build -G Ninja \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \ -D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \ -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build }