From 58e8c96de050907cbf76d567f247c01c68bb9855 Mon Sep 17 00:00:00 2001 From: David Nerjes Date: Wed, 7 Mar 2018 23:16:07 +0100 Subject: [entt] inital port (#2984) * [entt] inital port * [entt] Remove unneeded vcpkg_configure_cmake step --- ports/entt/CONTROL | 3 +++ ports/entt/portfile.cmake | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 ports/entt/CONTROL create mode 100644 ports/entt/portfile.cmake 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. 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) -- cgit v1.2.3