2017-12-06 05:00:50 +08:00
|
|
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
|
|
|
|
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/iostreams
|
2019-09-28 01:41:02 +08:00
|
|
|
REF boost-1.71.0
|
|
|
|
SHA512 229f4afdf5909bfc83527990862f56c7edf06cb30d511f425d4112809cd21d1d436177ebb0853cf12ad48a49d445364a2cee97a8f0b2fb14c0dc94fa746a5876
|
2017-12-06 05:00:50 +08:00
|
|
|
HEAD_REF master
|
2019-01-31 08:04:17 +08:00
|
|
|
PATCHES Removeseekpos.patch
|
2017-12-06 05:00:50 +08:00
|
|
|
)
|
|
|
|
|
2018-04-18 06:18:09 +08:00
|
|
|
vcpkg_download_distfile(LICENSE
|
2019-05-17 09:33:32 +08:00
|
|
|
URLS "https://raw.githubusercontent.com/boostorg/boost/boost-1.70.0/LICENSE_1_0.txt"
|
2018-04-18 06:18:09 +08:00
|
|
|
FILENAME "boost_LICENSE_1_0.txt"
|
|
|
|
SHA512 d6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8
|
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(COPY ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
|
|
|
|
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-iostreams RENAME copyright)
|