diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/rapidxml-ns | |
Diffstat (limited to 'vcpkg/ports/rapidxml-ns')
| -rw-r--r-- | vcpkg/ports/rapidxml-ns/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/rapidxml-ns/vcpkg.json | 6 |
2 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/rapidxml-ns/portfile.cmake b/vcpkg/ports/rapidxml-ns/portfile.cmake new file mode 100644 index 0000000..e2d9a0c --- /dev/null +++ b/vcpkg/ports/rapidxml-ns/portfile.cmake @@ -0,0 +1,20 @@ +#header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO svgpp/rapidxml_ns + REF v1.13.2 + SHA512 72cdd7e728471e8903ce64470f5172abe7f2300d4d115b3a27b4d4ffb3c20e59aefb9b23c535e37baa3f53c9125aa2932d6fa9ba24e658151e1c9b12f959523a + HEAD_REF master +) + +# Handle copyright +file(COPY ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/rapidxml-ns) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/rapidxml-ns/license.txt ${CURRENT_PACKAGES_DIR}/share/rapidxml-ns/copyright) + +# Copy the header files +file(INSTALL + ${SOURCE_PATH}/rapidxml_ns.hpp + ${SOURCE_PATH}/rapidxml_ns_print.hpp + ${SOURCE_PATH}/rapidxml_ns_utils.hpp + DESTINATION + ${CURRENT_PACKAGES_DIR}/include/rapidxml-ns) diff --git a/vcpkg/ports/rapidxml-ns/vcpkg.json b/vcpkg/ports/rapidxml-ns/vcpkg.json new file mode 100644 index 0000000..4521213 --- /dev/null +++ b/vcpkg/ports/rapidxml-ns/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "rapidxml-ns", + "version": "1.13.2", + "port-version": 2, + "description": "RapidXML with added XML namespaces support." +} |