diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libnop/portfile.cmake | 8 | ||||
| -rw-r--r-- | ports/libnop/vcpkg.json | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/libnop/portfile.cmake b/ports/libnop/portfile.cmake new file mode 100644 index 000000000..5c10f5e60 --- /dev/null +++ b/ports/libnop/portfile.cmake @@ -0,0 +1,8 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO google/libnop + REF 910b55815be16109f04f4180e9adee14fb4ce281 + SHA512 74c5324eaa1b6b2ac8dfef94c835b5c5b044625f8e5efe3522470b1ecc4798ff43d344a013cee2f6901e83267c6167072947b754e63f1552ae7044cffe234c36 +) +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/ports/libnop/vcpkg.json b/ports/libnop/vcpkg.json new file mode 100644 index 000000000..be09bef23 --- /dev/null +++ b/ports/libnop/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "libnop", + "version-date": "2021-03-01", + "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" +} |
