diff --git a/ports/ez8-co-yapi/portfile.cmake b/ports/ez8-co-yapi/portfile.cmake new file mode 100644 index 0000000000..ea9cf5a811 --- /dev/null +++ b/ports/ez8-co-yapi/portfile.cmake @@ -0,0 +1,12 @@ +# Header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ez8-co/yapi + REF a700188cc4cbbc48b3da8254ec5d433a1de47fb4 + SHA512 863b9e82d06a53332efc5c5d5a4b984a132102b97f2ddd53fe47d356be851577b73dbac51169eb3c4c9e3e52318847ec9ba96a8f5354dd24f37c87e704c77158 + HEAD_REF master +) + +file(INSTALL "${SOURCE_PATH}/yapi.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/ez8-co-yapi/usage b/ports/ez8-co-yapi/usage new file mode 100644 index 0000000000..be399a7714 --- /dev/null +++ b/ports/ez8-co-yapi/usage @@ -0,0 +1,4 @@ +ez8-co-yapi is header-only and can be used from CMake via: + + find_path(EZ8_CO_YAPI_INCLUDE_DIRS "ez8-co-yapi/yapi.hpp") + target_include_directories(main PRIVATE "${EZ8_CO_YAPI_INCLUDE_DIRS}") diff --git a/ports/ez8-co-yapi/vcpkg.json b/ports/ez8-co-yapi/vcpkg.json new file mode 100644 index 0000000000..34bff1016a --- /dev/null +++ b/ports/ez8-co-yapi/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "ez8-co-yapi", + "version-date": "2022-08-10", + "description": "A header-only fusion injector that reduces differences between x64, wow64 and x86 processes.", + "homepage": "https://github.com/ez8-co/yapi", + "license": "MIT", + "supports": "windows & !uwp" +} diff --git a/versions/baseline.json b/versions/baseline.json index a8649674df..f9f657581b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2892,6 +2892,10 @@ "baseline": "0.0.3", "port-version": 0 }, + "ez8-co-yapi": { + "baseline": "2022-08-10", + "port-version": 0 + }, "ezc3d": { "baseline": "1.7.0", "port-version": 0 diff --git a/versions/e-/ez8-co-yapi.json b/versions/e-/ez8-co-yapi.json new file mode 100644 index 0000000000..c6a50a0c3c --- /dev/null +++ b/versions/e-/ez8-co-yapi.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "f84191e546268d1c7995b881a84c57f938048ef0", + "version-date": "2022-08-10", + "port-version": 0 + } + ] +}