[ddtdanilo-lmdb-wrapper] Add new port (#50323)

This commit is contained in:
Danilo Díaz Tarascó 2026-03-12 04:33:55 -05:00 committed by GitHub
parent dd306f32e0
commit efa4634bd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ddtdanilo/LMDB-wrapper-MISRA-C
REF "v${VERSION}"
SHA512 97ef5907023623b4342cdd48dfc931d964bb04a23991ad1ef9689c2f16f1e3a84a0b0316da0911a128bf16fd9ac34d8cab02b487f19fea34e53125464cfba189
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DLMDB_WRAPPER_BUILD_TESTS=OFF
-DLMDB_WRAPPER_BUILD_EXAMPLES=OFF
)
vcpkg_cmake_build()
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME lmdb_wrapper CONFIG_PATH lib/cmake/lmdb_wrapper)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,19 @@
{
"name": "ddtdanilo-lmdb-wrapper",
"version": "1.0.1",
"description": "MISRA C compliant wrapper for LMDB (Lightning Memory-Mapped Database)",
"homepage": "https://github.com/ddtdanilo/LMDB-wrapper-MISRA-C",
"license": "MIT",
"supports": "!uwp & !x86",
"dependencies": [
"lmdb",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2428,6 +2428,10 @@
"baseline": "3.7.0",
"port-version": 0
},
"ddtdanilo-lmdb-wrapper": {
"baseline": "1.0.1",
"port-version": 0
},
"debug-assert": {
"baseline": "1.3.4",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b8ab7338a4d9300d5eb0a40895a795673e132dea",
"version": "1.0.1",
"port-version": 0
}
]
}