mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 18:13:01 +08:00
[indicators] Add new port (#9315)
* [indicators] Add new port * [indicators] Update patch * [indicators] Install LICENSE.termcolor * [indicators] Update to 2019-12-15 * [indicators] Update to 2019-12-17 * [indicators] Update to 1.5
This commit is contained in:
parent
1c4a1d1cef
commit
80cf1e4b19
4
ports/indicators/CONTROL
Normal file
4
ports/indicators/CONTROL
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Source: indicators
|
||||||
|
Version: 1.5
|
||||||
|
Description: Activity indicators for modern C++
|
||||||
|
Homepage: https://github.com/p-ranav/indicators
|
27
ports/indicators/portfile.cmake
Normal file
27
ports/indicators/portfile.cmake
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# header-only library
|
||||||
|
|
||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO p-ranav/indicators
|
||||||
|
REF e697a43fec7ae2198275022cea071236fcc7a52f
|
||||||
|
SHA512 7b06816e6e3fb78ade46906c51aec5dc8c3dae6d826871914c36373d0f55daf3839ba35630f74be11eec18766ad4084131b3c8fa411f371f253c71239e6861ea
|
||||||
|
HEAD_REF master
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_configure_cmake(
|
||||||
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
|
PREFER_NINJA
|
||||||
|
OPTIONS
|
||||||
|
-DINDICA_BUILD_TESTS=OFF
|
||||||
|
-DSAMPLES=OFF
|
||||||
|
-DDEMO=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/indica TARGET_PATH share/indica)
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
||||||
|
|
||||||
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||||
|
file(INSTALL ${SOURCE_PATH}/LICENSE.termcolor DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
Loading…
Reference in New Issue
Block a user