diff options
| -rw-r--r-- | ports/any-lite/CONTROL | 3 | ||||
| -rw-r--r-- | ports/any-lite/portfile.cmake | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/any-lite/CONTROL b/ports/any-lite/CONTROL new file mode 100644 index 000000000..6eaf3d167 --- /dev/null +++ b/ports/any-lite/CONTROL @@ -0,0 +1,3 @@ +Source: any-lite
+Version: 0.2.0
+Description: A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library
diff --git a/ports/any-lite/portfile.cmake b/ports/any-lite/portfile.cmake new file mode 100644 index 000000000..b4689a3e3 --- /dev/null +++ b/ports/any-lite/portfile.cmake @@ -0,0 +1,11 @@ +include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO martinmoene/any-lite
+ REF v0.2.0
+ SHA512 703900d7bac96d41f903b6cabba4bce15ef3cf7ef0a6a66de76230498ededff110e43d68d4a3fd6996869b2edd001f69bd53039a214d06b774ce99518f384a68
+)
+
+file(INSTALL ${SOURCE_PATH}/include/nonstd/any.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/nonstd)
+file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/any-lite RENAME copyright)
|
