diff options
Diffstat (limited to 'vcpkg/ports/greatest')
| -rw-r--r-- | vcpkg/ports/greatest/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/greatest/vcpkg.json | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/greatest/portfile.cmake b/vcpkg/ports/greatest/portfile.cmake new file mode 100644 index 0000000..676e4cd --- /dev/null +++ b/vcpkg/ports/greatest/portfile.cmake @@ -0,0 +1,13 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO silentbicycle/greatest + REF v1.5.0 + SHA512 836392A7C9C56C6A5658FD18B4BBB146304B1997DFD9CB59F2A83C18A5EC140C8DDE64A2C0CF9A169C426B9E586D37E2ED7D7FB792402DBB4149CC424EC2DB2E + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/greatest.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/greatest/vcpkg.json b/vcpkg/ports/greatest/vcpkg.json new file mode 100644 index 0000000..dce04ff --- /dev/null +++ b/vcpkg/ports/greatest/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "greatest", + "version": "1.5.0", + "description": "Single-file testing system for C", + "homepage": "https://github.com/silentbicycle/greatest" +} |