diff options
| author | Ryan <ryan__mckenzie@hotmail.com> | 2021-09-27 20:03:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 20:03:44 -0700 |
| commit | 46e314d63a0cd712f72c2220478933fb35857351 (patch) | |
| tree | 7117325fc1d3bd60c24ea0e69ef9be6c2bd07894 | |
| parent | 073a476459c5a311c793e01064e02d1af230b890 (diff) | |
| download | vcpkg-46e314d63a0cd712f72c2220478933fb35857351.tar.gz vcpkg-46e314d63a0cd712f72c2220478933fb35857351.zip | |
[rsm-mmio] Add new port (#20336)
* add port rsm-mmio
* add versioning
* convert indentation to spaces
* update versioning
| -rw-r--r-- | ports/rsm-mmio/portfile.cmake | 24 | ||||
| -rw-r--r-- | ports/rsm-mmio/vcpkg.json | 17 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/r-/rsm-mmio.json | 9 |
4 files changed, 54 insertions, 0 deletions
diff --git a/ports/rsm-mmio/portfile.cmake b/ports/rsm-mmio/portfile.cmake new file mode 100644 index 000000000..12cf65000 --- /dev/null +++ b/ports/rsm-mmio/portfile.cmake @@ -0,0 +1,24 @@ +vcpkg_fail_port_install(ON_TARGET "OSX" "UWP")
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Ryan-rsm-McKenzie/mmio
+ REF 1.1.0
+ SHA512 54c63c345d9e0a284d13078d525fcbe73d793462968121fee89a19c810cdac736aca9c81f4c8b4f5ea51db1c47ad0c55e7cea38772049e4939b0d6e280f9a332
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/mmio")
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/share"
+)
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/rsm-mmio/vcpkg.json b/ports/rsm-mmio/vcpkg.json new file mode 100644 index 000000000..7115a226f --- /dev/null +++ b/ports/rsm-mmio/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "rsm-mmio", + "version-semver": "1.1.0", + "description": "A cross-platform memory-mapped io library for C++ ", + "homepage": "https://github.com/Ryan-rsm-McKenzie/mmio", + "supports": "!osx & !uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f313b716b..b53b9a48c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5848,6 +5848,10 @@ "baseline": "2.0.3", "port-version": 0 }, + "rsm-mmio": { + "baseline": "1.1.0", + "port-version": 0 + }, "rsocket": { "baseline": "2020.05.04.00", "port-version": 2 diff --git a/versions/r-/rsm-mmio.json b/versions/r-/rsm-mmio.json new file mode 100644 index 000000000..981d24616 --- /dev/null +++ b/versions/r-/rsm-mmio.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "8a7d738a20500733ea97af87e6f83df5558856c9", + "version-semver": "1.1.0", + "port-version": 0 + } + ] +} |
