diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-12-03 09:15:40 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-03 23:16:16 +0000 |
commit | 6d9d9cb7f8c0e4173c66da7dd4667e66e836a02a (patch) | |
tree | 6e6c7128e2047a9685aa43994f345173d115eb6f | |
parent | e3e1566fd7d21a2fc5e630358c4d866f62187c86 (diff) | |
download | serenity-6d9d9cb7f8c0e4173c66da7dd4667e66e836a02a.zip |
Ports: Add port for double-conversion 3.2.1
This IEEE floating point conversion library is required by Qt
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/double-conversion/package.sh | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 8154dd35d2..03cf83a911 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -46,6 +46,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`dos2unix`](dos2unix/) | dos2unix | 7.4.3 | https://waterlan.home.xs4all.nl/dos2unix.html | | [`dosbox-staging`](dosbox-staging/) | DOSBox Staging | 0.76.0 | https://dosbox-staging.github.io/ | | [`dosfstools`](dosfstools/) | dosfstools utility suite | 4.2 | https://github.com/dosfstools/dosfstools/ | +| [`double-conversion`](double-conversion/) | double-conversion | 3.2.1 | https://github.com/google/double-conversion | | [`drascula`](drascula/) | Dráscula: The Vampire Strikes Back | 1.0 | https://www.scummvm.org/games/#games-drascula | | [`dreamweb`](dreamweb/) | DreamWeb | 1.1 | https://www.scummvm.org/games/#games-dreamweb | | [`dropbear`](dropbear/) | Dropbear SSH | 2022.82 | https://dropbear.nl/mirror/dropbear.html | diff --git a/Ports/double-conversion/package.sh b/Ports/double-conversion/package.sh new file mode 100755 index 0000000000..0a1d6c0669 --- /dev/null +++ b/Ports/double-conversion/package.sh @@ -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 +} |