[entt] inital port (#2984)

* [entt] inital port

* [entt] Remove unneeded vcpkg_configure_cmake step
This commit is contained in:
David Nerjes 2018-03-07 23:16:07 +01:00 committed by Robert Schumacher
parent 41c6741b21
commit 58e8c96de0
2 changed files with 21 additions and 0 deletions

3
ports/entt/CONTROL Normal file
View File

@ -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>

18
ports/entt/portfile.cmake Normal file
View File

@ -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)