mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 01:07:55 +08:00
18ad8e69fc
Update `bxzstr` to the latest version 1.2.1. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
24 lines
927 B
CMake
24 lines
927 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO tmaklin/bxzstr
|
|
REF "v${VERSION}"
|
|
SHA512 0e9b265c817d586b66436882821c365ad4be79d87673fed995f2a7341291350e04ce65f2b3d48d397f6c5e3dd564a61fcad7b0228640a9f83533022a3552a493
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(INSTALL
|
|
"${SOURCE_PATH}/include/bxzstr.hpp"
|
|
"${SOURCE_PATH}/include/bz_stream_wrapper.hpp"
|
|
"${SOURCE_PATH}/include/compression_types.hpp"
|
|
"${SOURCE_PATH}/include/config.hpp"
|
|
"${SOURCE_PATH}/include/lzma_stream_wrapper.hpp"
|
|
"${SOURCE_PATH}/include/stream_wrapper.hpp"
|
|
"${SOURCE_PATH}/include/strict_fstream.hpp"
|
|
"${SOURCE_PATH}/include/z_stream_wrapper.hpp"
|
|
"${SOURCE_PATH}/include/zstd_stream_wrapper.hpp"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include/bxzstr")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|