1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +00:00

Ports: Add port for double-conversion 3.2.1

This IEEE floating point conversion library is required by Qt
This commit is contained in:
Andrew Kaster 2022-12-03 09:15:40 -07:00 committed by Linus Groh
parent e3e1566fd7
commit 6d9d9cb7f8
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='double-conversion'
version='3.2.1'
files="https://github.com/google/double-conversion/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35"
auth_type='sha256'
useconfigure='true'
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
configure() {
run cmake "${configopts[@]}"
}
install() {
run make install
}