mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:39:06 +08:00
2a744d41af
* Updating tabulate to version 1.4 The previous port was using a version prior to 1.0 * [tabulate] updating to use latest cmake functions * [tabulate] Adding license License is MIT according to: https://github.com/p-ranav/tabulate/blob/v1.4/LICENSE * [tabulate] Adding double quotes to absolute paths in portfile.cmake * [tabulate] updating license Requested to add BSL-1.0 AND BSD-3-Clause * [tabulate] running x-add-version
24 lines
777 B
CMake
24 lines
777 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO p-ranav/tabulate
|
|
REF v1.4
|
|
SHA512 37d69d53f1c628955f2a35779dbf3053c5b449f7069d846b697b541df1719b00e9b72e9d6de361d9733b7e7543c25e444b1aa139f72000730eeeafa022bbf3c1
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-Dtabulate_BUILD_TESTS=OFF
|
|
-DSAMPLES=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
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}")
|