diff --git a/ports/flatbush/portfile.cmake b/ports/flatbush/portfile.cmake new file mode 100644 index 0000000000..81760317c5 --- /dev/null +++ b/ports/flatbush/portfile.cmake @@ -0,0 +1,19 @@ +# Header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO chusitoo/flatbush + REF "v${VERSION}" + SHA512 2d1ac3ae04331dd7aa0923c924672db2aef652b2f99a8a36a58c0efe4069f9b2755e343bea887128f02edd0abbf0775743541ca81fdb325ca1022145dde79ff7 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH share/flatbush) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +# Handle copyright +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/flatbush/vcpkg.json b/ports/flatbush/vcpkg.json new file mode 100644 index 0000000000..67482d973b --- /dev/null +++ b/ports/flatbush/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "flatbush", + "version": "1.1.2", + "description": "A C++11 header-only single file port of Flatbush", + "homepage": "https://github.com/chusitoo/flatbush", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 04fa0e0473..32b69bf469 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2540,6 +2540,10 @@ "baseline": "23.5.26", "port-version": 0 }, + "flatbush": { + "baseline": "1.1.2", + "port-version": 0 + }, "flecs": { "baseline": "3.2.4", "port-version": 0 diff --git a/versions/f-/flatbush.json b/versions/f-/flatbush.json new file mode 100644 index 0000000000..572c23e5b7 --- /dev/null +++ b/versions/f-/flatbush.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "8c59357025e0ee6a44855c384d3defd0a9ee525d", + "version": "1.1.2", + "port-version": 0 + } + ] +}