aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Moene <martin.moene@gmail.com>2019-05-26 21:17:02 +0200
committerMartin Moene <martin.moene@gmail.com>2019-05-26 21:17:02 +0200
commit549bdaa57ccc8034cb802d2a45543cf45d22b5bf (patch)
tree97a5649adbe845055c7be50e0ae6d8da960f329b
parent0cbbeda9cd47dd3c5c9126d7e504bc3ca08d6ccc (diff)
downloadvcpkg-549bdaa57ccc8034cb802d2a45543cf45d22b5bf.tar.gz
vcpkg-549bdaa57ccc8034cb802d2a45543cf45d22b5bf.zip
[any-lite] Add v0.2.0
-rw-r--r--ports/any-lite/CONTROL3
-rw-r--r--ports/any-lite/portfile.cmake11
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)