aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Nerjes <DavidHamburg@users.noreply.github.com>2018-03-07 23:16:07 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-03-07 14:16:07 -0800
commit58e8c96de050907cbf76d567f247c01c68bb9855 (patch)
tree44b8bc531d395f73c9c67c43125bdac04b6b5c5b
parent41c6741b21fe246e288f754ab8dbc2d352a1633f (diff)
downloadvcpkg-58e8c96de050907cbf76d567f247c01c68bb9855.tar.gz
vcpkg-58e8c96de050907cbf76d567f247c01c68bb9855.zip
[entt] inital port (#2984)
* [entt] inital port * [entt] Remove unneeded vcpkg_configure_cmake step
-rw-r--r--ports/entt/CONTROL3
-rw-r--r--ports/entt/portfile.cmake18
2 files changed, 21 insertions, 0 deletions
diff --git a/ports/entt/CONTROL b/ports/entt/CONTROL
new file mode 100644
index 000000000..4e4c44334
--- /dev/null
+++ b/ports/entt/CONTROL
@@ -0,0 +1,3 @@
+Source: entt
+Version: 2.4.2-1
+Description: Gaming meets modern C++ - a fast and reliable entity-component system and much more. <https://github.com/skypjack/entt>
diff --git a/ports/entt/portfile.cmake b/ports/entt/portfile.cmake
new file mode 100644
index 000000000..e67824162
--- /dev/null
+++ b/ports/entt/portfile.cmake
@@ -0,0 +1,18 @@
+#header-only library
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO skypjack/entt
+ REF v2.4.2
+ SHA512 fd532f2c180c328d396f557386b70e961c122af11e379ce57db3709d20345280ada200dadde136ae3557ad25daa944d8a86f7868cd0bedea78427d42c27d6e6d
+)
+
+file(INSTALL
+ ${SOURCE_PATH}/src/entt
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include
+)
+
+# Handle copyright/readme/package files
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/entt RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/entt)