diff --git a/ports/hdbscan/portfile.cmake b/ports/hdbscan/portfile.cmake new file mode 100644 index 00000000000000..8839a9320b7e64 --- /dev/null +++ b/ports/hdbscan/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_from_git( + OUT_SOURCE_PATH SOURCE_PATH + URL "https://github.com/ooraloo/hdbscan-cpp-vcpkg" + REF "382c494ecdda557a9a1bf5e0d700d45b9e8decf7" + FETCH_REF "master" +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup() +vcpkg_install_copyright(FILE_LIST ${SOURCE_PATH}/LICENSE.md) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") \ No newline at end of file diff --git a/ports/hdbscan/vcpkg.json b/ports/hdbscan/vcpkg.json new file mode 100644 index 00000000000000..dca54b6d34f6a8 --- /dev/null +++ b/ports/hdbscan/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "hdbscan", + "version": "1.0.0", + "description": "A C++ implementation of HDBSCAN clustering adapted from https://github.com/rohanmohapatra/hdbscan-cpp", + "homepage": "https://github.com/ooraloo/hdbscan-cpp-vcpkg", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} \ No newline at end of file