aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/double-conversion
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/double-conversion
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/double-conversion')
-rw-r--r--vcpkg/ports/double-conversion/portfile.cmake18
-rw-r--r--vcpkg/ports/double-conversion/vcpkg.json16
2 files changed, 34 insertions, 0 deletions
diff --git a/vcpkg/ports/double-conversion/portfile.cmake b/vcpkg/ports/double-conversion/portfile.cmake
new file mode 100644
index 0000000..0f763ae
--- /dev/null
+++ b/vcpkg/ports/double-conversion/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO google/double-conversion
+ REF "v${VERSION}"
+ SHA512 60cab2fe623204cfa8737150e6ffcae091266180461dba377231e4fe8dccf712e74c643cd317b62266240ab82f1c0f820cf825038d627934d2dd0af1426f0cca
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/double-conversion/vcpkg.json b/vcpkg/ports/double-conversion/vcpkg.json
new file mode 100644
index 0000000..58f8f73
--- /dev/null
+++ b/vcpkg/ports/double-conversion/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "double-conversion",
+ "version": "3.3.1",
+ "description": "Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.",
+ "homepage": "https://github.com/google/double-conversion",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}