diff --git a/ports/ddtdanilo-lmdb-wrapper/portfile.cmake b/ports/ddtdanilo-lmdb-wrapper/portfile.cmake new file mode 100644 index 0000000000..4366cd28a0 --- /dev/null +++ b/ports/ddtdanilo-lmdb-wrapper/portfile.cmake @@ -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") diff --git a/ports/ddtdanilo-lmdb-wrapper/vcpkg.json b/ports/ddtdanilo-lmdb-wrapper/vcpkg.json new file mode 100644 index 0000000000..6efee57774 --- /dev/null +++ b/ports/ddtdanilo-lmdb-wrapper/vcpkg.json @@ -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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 2925acf17c..87e758b606 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/d-/ddtdanilo-lmdb-wrapper.json b/versions/d-/ddtdanilo-lmdb-wrapper.json new file mode 100644 index 0000000000..cd183cbbb2 --- /dev/null +++ b/versions/d-/ddtdanilo-lmdb-wrapper.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "b8ab7338a4d9300d5eb0a40895a795673e132dea", + "version": "1.0.1", + "port-version": 0 + } + ] +}