mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 18:39:01 +08:00
35e978a884
* fix licensingfile of kf5archive * selected specific licencefile * bumped port-version to 1
28 lines
972 B
CMake
28 lines
972 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KDE/karchive
|
|
REF 6e1f95972f25f1d3a94dd181f44ee0846e042ef9 # v5.74.0
|
|
SHA512 333a5e310c1b482379a3092bb3ac0e31963917090edd3afba6f26e40f63abe327dfdff70800e635667fe3333538e5fc911ab06d7287c17d2062a4618c191f308
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DBUILD_HTML_DOCS=OFF
|
|
-DBUILD_MAN_DOCS=OFF
|
|
-DBUILD_QTHELP_DOCS=OFF
|
|
-DBUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Archive)
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
file(INSTALL ${SOURCE_PATH}/LICENSES/LGPL-3.0-only.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|