early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/wolftpm/portfile.cmake
vendored
Executable file
24
externals/vcpkg/ports/wolftpm/portfile.cmake
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO wolfssl/wolftpm
|
||||
REF v2.4.0
|
||||
SHA512 82aa43f8773cc230d403d7e6cdbc4dc7dc8a3cb8e2f942c810a5ef0d60647d288ce82910820127ed6e67771d3900cfc55c5f9d87b722e0847bcb6a81c4e41441
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS
|
||||
-DWOLFTPM_EXAMPLES=no
|
||||
OPTIONS_DEBUG
|
||||
-DCMAKE_C_FLAGS='-DDEBUG_WOLFTPM'
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/wolftpm)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
19
externals/vcpkg/ports/wolftpm/vcpkg.json
vendored
Executable file
19
externals/vcpkg/ports/wolftpm/vcpkg.json
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "wolftpm",
|
||||
"version": "2.4.0",
|
||||
"description": "TPM library used with wolfSSL libraray for many platforms",
|
||||
"homepage": "https://wolfssl.com",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"wolfssl"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user