mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 11:53:03 +08:00
[tabulate] Add new port (#9543)
* [tabulate] Add new port * [tabulate] Update to 2019-01-06 to fix known issues
This commit is contained in:
parent
6ffb134f22
commit
7a25265e5d
4
ports/tabulate/CONTROL
Normal file
4
ports/tabulate/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: tabulate
|
||||
Version: 2019-01-06
|
||||
Description: Table maker for modern C++
|
||||
Homepage: https://github.com/p-ranav/tabulate
|
26
ports/tabulate/portfile.cmake
Normal file
26
ports/tabulate/portfile.cmake
Normal file
@ -0,0 +1,26 @@
|
||||
# header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO p-ranav/tabulate
|
||||
REF 8f7a31b58806384b755858fe5e69593f9f216ed0
|
||||
SHA512 33a51617d363f9e8eed2153f60c5a087ed84edaeb21a0bc779d0af6228d4d7deb211e03c1eb7c8d56ac538de6a1cc0b641d219b4ff95d277f3daa7762f64a8f6
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-Dtabulate_BUILD_TESTS=OFF
|
||||
-DSAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(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})
|
Loading…
Reference in New Issue
Block a user