[lazy-importer] Add new port (#7630)

This commit is contained in:
myd7349 2019-08-14 01:49:32 +08:00 committed by Victor Romero
parent fed6f0422d
commit 04b7dd89d8
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Source: lazy-importer
Version: 2019-08-10
Description: Library for importing functions from dlls in a hidden, reverse engineer unfriendly way
Homepage: https://github.com/JustasMasiulis/lazy_importer

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO JustasMasiulis/lazy_importer
REF 88186bfce98845eba9050f7597332754f621c0fc
SHA512 04789501ea9c9cf600326b3f8292c441f54d0915452eb29b063fe0a8d56a31157cf338a4ec44aa658e397d754b6593ece51af2736d5980e72d67359a1abc2625
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/include/lazy_importer.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)