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/upa-url | |
Diffstat (limited to 'vcpkg/ports/upa-url')
| -rw-r--r-- | vcpkg/ports/upa-url/portfile.cmake | 21 | ||||
| -rw-r--r-- | vcpkg/ports/upa-url/vcpkg.json | 18 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/upa-url/portfile.cmake b/vcpkg/ports/upa-url/portfile.cmake new file mode 100644 index 0000000..24cc333 --- /dev/null +++ b/vcpkg/ports/upa-url/portfile.cmake @@ -0,0 +1,21 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO upa-url/upa
+ REF "v${VERSION}"
+ SHA512 a44def9600fb0148d3da8d83c5e7002a225777a48f4dee2e256abcedcdcd32baad7a28b0d08f09b4e34ee3cd9667925914b0a8309658312a2f10116522f470da
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DUPA_BUILD_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_copy_pdbs()
+vcpkg_cmake_config_fixup(PACKAGE_NAME "upa" CONFIG_PATH "lib/cmake/upa")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/upa-url/vcpkg.json b/vcpkg/ports/upa-url/vcpkg.json new file mode 100644 index 0000000..aab2113 --- /dev/null +++ b/vcpkg/ports/upa-url/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "upa-url", + "version": "2.3.0", + "description": "An implementation of the WHATWG URL Standard in C++", + "homepage": "https://github.com/upa-url/upa", + "documentation": "https://upa-url.github.io/docs/", + "license": "BSD-2-Clause", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |