diff --git a/ports/andytech-tiny-crc32c/portfile.cmake b/ports/andytech-tiny-crc32c/portfile.cmake new file mode 100644 index 0000000000..95c8a14915 --- /dev/null +++ b/ports/andytech-tiny-crc32c/portfile.cmake @@ -0,0 +1,18 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO AndyTechnologies/tiny-crc32c + REF v1.0.1 + SHA512 2f2033459b75d7fca35e849131098da127e75074aafed838dccf9f838cdb378dde0992e42a9cc52b3e8636b1d9b726f80a44e65a215f2e09b32e012d12b032ac + HEAD_REF main +) + +file(INSTALL + "${SOURCE_PATH}/include/tiny_crc32.hpp" + DESTINATION "${CURRENT_PACKAGES_DIR}/include" +) + +file(INSTALL + "${SOURCE_PATH}/LICENSE" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" + RENAME copyright +) diff --git a/ports/andytech-tiny-crc32c/vcpkg.json b/ports/andytech-tiny-crc32c/vcpkg.json new file mode 100644 index 0000000000..9e26a3074b --- /dev/null +++ b/ports/andytech-tiny-crc32c/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "andytech-tiny-crc32c", + "version": "1.0.1", + "description": "Tiny C++23 header-only CRC32C library (Castagnoli polynomial)", + "homepage": "https://github.com/AndyTechnologies/tiny-crc32c", + "license": "MIT" +} diff --git a/versions/a-/andytech-tiny-crc32c.json b/versions/a-/andytech-tiny-crc32c.json new file mode 100644 index 0000000000..21e83e7df4 --- /dev/null +++ b/versions/a-/andytech-tiny-crc32c.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "ac327f66a147c37d1966752ff19a98637c070cc1", + "version": "1.0.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 6a1a063fde..1c1483381d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -140,6 +140,10 @@ "baseline": "2.1.0", "port-version": 8 }, + "andytech-tiny-crc32c": { + "baseline": "1.0.1", + "port-version": 0 + }, "angelscript": { "baseline": "2.38.0", "port-version": 0