diff options
Diffstat (limited to 'vcpkg/ports/libnop')
| -rw-r--r-- | vcpkg/ports/libnop/portfile.cmake | 8 | ||||
| -rw-r--r-- | vcpkg/ports/libnop/vcpkg.json | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/libnop/portfile.cmake b/vcpkg/ports/libnop/portfile.cmake new file mode 100644 index 0000000..e261042 --- /dev/null +++ b/vcpkg/ports/libnop/portfile.cmake @@ -0,0 +1,8 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO google/libnop + REF 35e800d81f28c632956c5a592e3cbe8085ecd430 + SHA512 27f62710afb41165db5ef54bb2d09f89ed9c0c0cb401bffe2c52590bb28c67ed6ba68922510cdedd6dc7cc75fc267a02a2f9cbcca4bfa85042792a121e27097e +) +file(INSTALL ${SOURCE_PATH}/include/nop DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file diff --git a/vcpkg/ports/libnop/vcpkg.json b/vcpkg/ports/libnop/vcpkg.json new file mode 100644 index 0000000..f342378 --- /dev/null +++ b/vcpkg/ports/libnop/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "libnop", + "version-date": "2021-11-03", + "description": "libnop is a header-only library for serializing and deserializing C++ data types without external code generators or runtime support libraries", + "homepage": "https://github.com/google/libnop" +} |