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/commata | |
Diffstat (limited to 'vcpkg/ports/commata')
| -rw-r--r-- | vcpkg/ports/commata/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/commata/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/commata/portfile.cmake b/vcpkg/ports/commata/portfile.cmake new file mode 100644 index 0000000..7bc6a3e --- /dev/null +++ b/vcpkg/ports/commata/portfile.cmake @@ -0,0 +1,13 @@ +# Header-only library +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO furfurylic/commata + REF "v${VERSION}" + SHA512 1c4ca9f37ea629289b6067a2fd6ac4ce61205c03fc1a2e9460cac1c139e46b14fa11a772bff217302ed847cf2043ad2f1af4ebc8962811dc57360e20cbd708ce + HEAD_REF master +) + +file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include") +file(INSTALL "${SOURCE_PATH}/include/commata" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/commata/vcpkg.json b/vcpkg/ports/commata/vcpkg.json new file mode 100644 index 0000000..1715998 --- /dev/null +++ b/vcpkg/ports/commata/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "commata", + "version": "1.1.1", + "description": "Just another header-only C++17 CSV parser.", + "homepage": "https://github.com/furfurylic/commata", + "license": "Unlicense" +} |