[winlamb] Add new port (#17590)

* [winlamb] Add new port

* [winlamb] vcpkg x-add-version --overwrite-version winlamb

* [winlamb] Supports windows

* [winlamb] vcpkg x-add-version --overwrite-version winlamb
This commit is contained in:
myd7349 2021-05-18 15:17:43 +08:00 committed by GitHub
parent 38e7e0367e
commit f8c233a2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO rodrigocfd/winlamb
REF b7a6767994b2a8c0782c6b6e7b9e78a224a078cf
SHA512 343a900ef003eac47489b34d2b5affc1f133929ff036d535f604fbc5771767075835eed59acd7b93674729badf28ac99f6ba10ac3bf34af6aa4ac49021925e7c
HEAD_REF master
)
file(GLOB WINLAMB_PUBLIC_HEADERS ${SOURCE_PATH}/*.h)
file(GLOB WINLAMB_INTERNAL_HEADERS ${SOURCE_PATH}/internals/*.h)
file(INSTALL ${WINLAMB_PUBLIC_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
file(INSTALL ${WINLAMB_INTERNAL_HEADERS} DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT}/internals)
file(INSTALL ${SOURCE_PATH}/win10.exe.manifest DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

8
ports/winlamb/vcpkg.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "winlamb",
"version-date": "2020-10-15",
"description": "A lightweight modern C++11 library for Win32 API, using lambdas to handle Windows messages.",
"homepage": "https://github.com/rodrigocfd/winlamb",
"license": "MIT",
"supports": "windows"
}

View File

@ -6452,6 +6452,10 @@
"baseline": "0.0-2",
"port-version": 0
},
"winlamb": {
"baseline": "2020-10-15",
"port-version": 0
},
"winpcap": {
"baseline": "4.1.3",
"port-version": 4

9
versions/w-/winlamb.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "4ab2db703006df4f9ada6beb31f0cf4556ea62eb",
"version-date": "2020-10-15",
"port-version": 0
}
]
}