summaryrefslogtreecommitdiff
path: root/Ports/double-conversion/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/double-conversion/package.sh')
-rwxr-xr-xPorts/double-conversion/package.sh17
1 files changed, 17 insertions, 0 deletions
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
+}