mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[zstr] Add new port (#6773)
This commit is contained in:
parent
52168a8503
commit
d7c61a4215
3
ports/zstr/CONTROL
Normal file
3
ports/zstr/CONTROL
Normal file
@ -0,0 +1,3 @@
|
||||
Source: zstr
|
||||
Version: 1.0.1
|
||||
Description: This C++ header-only library enables the use of C++ standard iostreams to access ZLib-compressed streams.
|
17
ports/zstr/portfile.cmake
Normal file
17
ports/zstr/portfile.cmake
Normal file
@ -0,0 +1,17 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mateidavid/zstr
|
||||
REF v1.0.1
|
||||
SHA512 616df2394c41038bc8512748a6a699cb45310ff518e75f591c7f957d6ab3da66a384755a6015c3eb588b576940cbff429ff9798985c452b6eda6e22f94dfb264
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Install source files
|
||||
file(INSTALL ${SOURCE_PATH}/src/strict_fstream.hpp
|
||||
${SOURCE_PATH}/src/zstr.hpp
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
|
||||
|
||||
# Install license
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user