From a1e2c81722a4b522850d0eeb12e66ac188dae16b Mon Sep 17 00:00:00 2001 From: Martin Moene Date: Tue, 19 Feb 2019 21:29:28 +0100 Subject: [PATCH] [lest] Add lest v1.34.1 (was: v1.34.0) (#5353) * [lest] Add lest v1.34.0 * [lest] Add lest v1.34.1 To support vcpkg installations, examples now specify folder 'lest' in the include directives, like: #include "lest/lest.hpp". * fix: update hash for lest --- ports/lest/CONTROL | 3 +++ ports/lest/portfile.cmake | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 ports/lest/CONTROL create mode 100644 ports/lest/portfile.cmake diff --git a/ports/lest/CONTROL b/ports/lest/CONTROL new file mode 100644 index 0000000000..20913e2181 --- /dev/null +++ b/ports/lest/CONTROL @@ -0,0 +1,3 @@ +Source: lest +Version: 1.34.1 +Description: A modern, C++11-native, single-file header-only, tiny framework for unit-tests, TDD and BDD (includes C++98 variant) diff --git a/ports/lest/portfile.cmake b/ports/lest/portfile.cmake new file mode 100644 index 0000000000..cb2d9a080e --- /dev/null +++ b/ports/lest/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO martinmoene/lest + REF v1.34.1 + SHA512 7f4b0e49c1cf4c55d21752259ee45f9265aba254b9c15f84e77f9ae3e5ef3443abcb43fafe8e16d84bbdffee72dae842de0ed661c2caeb9607fcb188eb3ec7d1 +) + +file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/lest RENAME copyright)