diff options
| author | Samuel Marks <807580+SamuelMarks@users.noreply.github.com> | 2021-09-13 22:42:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 19:42:24 -0700 |
| commit | 515b1fb9b58fca8cee3805876b8df7150738aa52 (patch) | |
| tree | 920c238901a8b17e466c072ef9ff5e3d9154e875 | |
| parent | 333e0d4e5d59429d8977a70c777f9f51713e28a5 (diff) | |
| download | vcpkg-515b1fb9b58fca8cee3805876b8df7150738aa52.tar.gz vcpkg-515b1fb9b58fca8cee3805876b8df7150738aa52.zip | |
[New port] Rexo (#18895)
* [ports/rexo] New port
* `vcpkg x-add-version --all`
* [ports/rexo/portfile.cmake] Update version; use vcpkg_configure_cmake
* `vcpkg x-add-version --all`
* [versions/r-/rexo.json] Manually remove first iteration
* vcpkg_cmake_install()
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* Update ports/rexo/portfile.cmake
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
* Update ports/rexo/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/rexo/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* [rexo] Upgrade to 0.2.1; use new vcpkg cmake function names
* ./vcpkg x-add-version --all --overwrite-version; remove 0.2.0 from versions/r-/rexo.json
* [rexo] Upgrade to 0.2.2
* ./vcpkg x-add-version --all --overwrite-version
* [rexo] Upgrade to 0.2.2 SHA hash
* ./vcpkg x-add-version --all --overwrite-version
* [rexo] CONTROL -> vcpkg.json
* ./vcpkg x-add-version --all --overwrite-version
* [ports/rexo] Use new format
* [ports/rexo/vcpkg.json] Remove trailing comma
* [versions/r-/rexo.json] ./vcpkg x-add-version rexo --overwrite-version
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
| -rw-r--r-- | ports/rexo/portfile.cmake | 19 | ||||
| -rw-r--r-- | ports/rexo/vcpkg.json | 16 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/r-/rexo.json | 9 |
4 files changed, 48 insertions, 0 deletions
diff --git a/ports/rexo/portfile.cmake b/ports/rexo/portfile.cmake new file mode 100644 index 000000000..9fdf50774 --- /dev/null +++ b/ports/rexo/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO "christophercrouzet/rexo" + REF "v0.2.2" + SHA512 "c7b093920bb23d1b8ecb905c8d3eb281e46607890c071c079df4c194215fc007d672ce3524848a1f0376188869f51fd9955e3fe027c10f3d286a003adfd78d09" + HEAD_REF "main" +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DREXO_BUILD_TESTS=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Rexo) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") +configure_file("${SOURCE_PATH}/UNLICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY) diff --git a/ports/rexo/vcpkg.json b/ports/rexo/vcpkg.json new file mode 100644 index 000000000..5971ea422 --- /dev/null +++ b/ports/rexo/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "rexo", + "version-semver": "0.2.2", + "description": "Rexo is a neat single-file cross-platform unit testing framework for C/C++", + "homepage": "https://github.com/christophercrouzet/rexo", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 20a4ccf56..c818d93d3 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5684,6 +5684,10 @@ "baseline": "0.6.13", "port-version": 0 }, + "rexo": { + "baseline": "0.2.2", + "port-version": 0 + }, "rhash": { "baseline": "1.4.0", "port-version": 1 diff --git a/versions/r-/rexo.json b/versions/r-/rexo.json new file mode 100644 index 000000000..74465b5fa --- /dev/null +++ b/versions/r-/rexo.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "baf2bfcbd402fbf0f66d810edfff4d7fbd7d1583", + "version-semver": "0.2.2", + "port-version": 0 + } + ] +} |
