Update portfile.cmake (#24578)

This commit is contained in:
Anders Wind 2022-05-14 01:51:33 +02:00 committed by GitHub
parent 66444e6324
commit 88d95a6b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 12 deletions

View File

@ -3,15 +3,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO rigtorp/MPMCQueue
REF 5883e32b07e8a60c22d532d9120ea5c11348aea9
SHA512 4adbbe5e014e0ef5c7030aaa9faa4e07e2c65753cd89c770da250811c13776576c4f1caf4144542318c41ebc7433b106e802c482a5d44572963a5ab59047257e
REF 28d05c021d68fc5280b593329d1982ed02f9d7b3
SHA512 e3305ecac05d48814d75adcb85fa165eec3a439a17dd99f8b0d2c095e40b2f98bd4bcf167cf8268f84d09aa172ab66b30573d9d3ad4908c10dc5bec632529b8a
HEAD_REF master
)
file(COPY
${SOURCE_PATH}/include/rigtorp/MPMCQueue.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include/rigtorp
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/MPMCQueue)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -1,7 +1,17 @@
{
"name": "mpmcqueue",
"version-string": "2019-07-26",
"port-version": 1,
"version-date": "2021-12-01",
"description": "A bounded multi-producer multi-consumer lock-free queue written in C++11",
"homepage": "https://github.com/rigtorp/MPMCQueue"
"homepage": "https://github.com/rigtorp/MPMCQueue",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4661,8 +4661,8 @@
"port-version": 0
},
"mpmcqueue": {
"baseline": "2019-07-26",
"port-version": 1
"baseline": "2021-12-01",
"port-version": 0
},
"mqtt-cpp": {
"baseline": "12.0.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7986416e7dd33174b060331018a3b8aeee3018f0",
"version-date": "2021-12-01",
"port-version": 0
},
{
"git-tree": "1953040343e61f40deb621b5ca28aed36ebc2008",
"version-string": "2019-07-26",