diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2017-08-10 08:44:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-10 08:44:58 -0700 |
| commit | 0c4559e0479be5e16af48499c68c22a70ad9e01b (patch) | |
| tree | b7c7096a863879535b4dfca691579afb08f02019 | |
| parent | afe9d3733de2ce6b571f0964f06767953c22796d (diff) | |
| parent | 8df35ffa1c152809dbbf83e31a7cf87ea723a9d9 (diff) | |
| download | vcpkg-0c4559e0479be5e16af48499c68c22a70ad9e01b.tar.gz vcpkg-0c4559e0479be5e16af48499c68c22a70ad9e01b.zip | |
Merge pull request #1625 from SergiusTheBest/master
[plog] initial port of plog 1.1.3
| -rw-r--r-- | ports/plog/CONTROL | 3 | ||||
| -rw-r--r-- | ports/plog/portfile.cmake | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/plog/CONTROL b/ports/plog/CONTROL new file mode 100644 index 000000000..091778688 --- /dev/null +++ b/ports/plog/CONTROL @@ -0,0 +1,3 @@ +Source: plog +Version: 1.1.3 +Description: Portable, simple and extensible C++ logging library. diff --git a/ports/plog/portfile.cmake b/ports/plog/portfile.cmake new file mode 100644 index 000000000..5cc0dfbd4 --- /dev/null +++ b/ports/plog/portfile.cmake @@ -0,0 +1,17 @@ +# Header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO SergiusTheBest/plog + REF 1.1.3 + SHA512 9a5a455e1942158d2802313682ed007750789a9048773302d92f2591dfac0185914dba8b67fa285fed25e54dff44e2c97c92b9e7decd39fa2bca460c03549377 + HEAD_REF master +) + +# Put the licence file where vcpkg expects it +file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/plog) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/plog/LICENSE ${CURRENT_PACKAGES_DIR}/share/plog/copyright) + +# Copy header files +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h") |
