From b3aaa1c3b73665fd51897233e7a96e14586f02ea Mon Sep 17 00:00:00 2001 From: Park DongHa Date: Thu, 8 Apr 2021 05:25:51 +0900 Subject: [bext-ut] create a new port (#16822) * [ut] create a new port * [ut] update baseline and port SHA * [bext-ut] change port name * [bext-ut] unique name for downloaded license * Update ports/bext-ut/portfile.cmake Co-authored-by: Robert Schumacher * [bext-ut] comment for copyright install * [bext-ut] Lift license download up. Copy, don't move. Co-authored-by: Robert Schumacher --- ports/bext-ut/portfile.cmake | 31 +++++++++++++++++++++++++++++++ ports/bext-ut/vcpkg.json | 6 ++++++ versions/b-/bext-ut.json | 9 +++++++++ versions/baseline.json | 4 ++++ 4 files changed, 50 insertions(+) create mode 100644 ports/bext-ut/portfile.cmake create mode 100644 ports/bext-ut/vcpkg.json create mode 100644 versions/b-/bext-ut.json diff --git a/ports/bext-ut/portfile.cmake b/ports/bext-ut/portfile.cmake new file mode 100644 index 000000000..14d456bc5 --- /dev/null +++ b/ports/bext-ut/portfile.cmake @@ -0,0 +1,31 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO boost-ext/ut + REF v1.1.8 + SHA512 0df2f8ce784dc69c3cca5554a8b2be7c1664dd66bf52e83f305db5fae84d416a851e9282e9a8cfe50fbcada85b17da00fb25c1228d9cca32226a18bae18acb83 + HEAD_REF master +) + +vcpkg_download_distfile(LICENSE_FILE + URLS https://www.boost.org/LICENSE_1_0.txt + FILENAME d6078467835dba893231.txt + SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8 +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA + OPTIONS + -DBOOST_UT_BUILD_BENCHMARKS=OFF + -DBOOST_UT_BUILD_EXAMPLES=OFF + -DBOOST_UT_BUILD_TESTS=OFF +) +vcpkg_install_cmake() +vcpkg_copy_pdbs() +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ut TARGET_PATH share/ut) + +configure_file("${LICENSE_FILE}" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug + ${CURRENT_PACKAGES_DIR}/lib +) diff --git a/ports/bext-ut/vcpkg.json b/ports/bext-ut/vcpkg.json new file mode 100644 index 000000000..8a7c5d77f --- /dev/null +++ b/ports/bext-ut/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "bext-ut", + "version": "1.1.8", + "description": "UT: C++20 μ(micro)/Unit Testing Framework", + "homepage": "https://boost-ext.github.io/ut/" +} diff --git a/versions/b-/bext-ut.json b/versions/b-/bext-ut.json new file mode 100644 index 000000000..6e6b6971f --- /dev/null +++ b/versions/b-/bext-ut.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b08fed0b83c26aabfdda7db38d43a01b288f6a66", + "version": "1.1.8", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index fcf6d9165..341efc200 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -332,6 +332,10 @@ "baseline": "4.8.30", "port-version": 5 }, + "bext-ut": { + "baseline": "1.1.8", + "port-version": 0 + }, "bext-di": { "baseline": "1.2.0", "port-version": 0 -- cgit v1.2.3