diff --git a/ports/cpp-sort/portfile.cmake b/ports/cpp-sort/portfile.cmake new file mode 100644 index 0000000000..5799c213ab --- /dev/null +++ b/ports/cpp-sort/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Morwenn/cpp-sort + REF "${VERSION}" + SHA512 85d9f68ff64ff23769c66d28153273e2072b2c12f2f94bb058afebc1fb68d852734d3907a51704212d795bff71f327de3497232ba3619179bbaa141ab55b2452 + HEAD_REF 1.x.y-develop +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DCPPSORT_BUILD_TESTING=OFF +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cpp-sort") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") diff --git a/ports/cpp-sort/vcpkg.json b/ports/cpp-sort/vcpkg.json new file mode 100644 index 0000000000..5c119d0dd8 --- /dev/null +++ b/ports/cpp-sort/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "cpp-sort", + "version": "1.15.0", + "description": "Sorting algorithms & related tools for C++14", + "homepage": "https://github.com/Morwenn/cpp-sort/", + "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 be51b10247..3290e15aa7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1820,6 +1820,10 @@ "baseline": "4.3.1", "port-version": 5 }, + "cpp-sort": { + "baseline": "1.15.0", + "port-version": 0 + }, "cpp-taskflow": { "baseline": "2.6.0", "port-version": 2 diff --git a/versions/c-/cpp-sort.json b/versions/c-/cpp-sort.json new file mode 100644 index 0000000000..cc90683885 --- /dev/null +++ b/versions/c-/cpp-sort.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b474d4009aeb5dd69f5024899bff6fbbb92a78f6", + "version": "1.15.0", + "port-version": 0 + } + ] +}