vcpkg/ports/dpp/portfile.cmake
Craig Edwards 34f072dfcb
[DPP] Bump to version 10.0.18 (#26669)
* vcpkg dpp port built from our CI

* fix missing dependency

* update

* Update Sun Jul 24 11:26:12 UTC 2022

* exclude uwp for dpp

* Update Sun Jul 24 13:21:45 UTC 2022

* fix supports

* fix supports

* Update Sun Jul 24 14:14:29 UTC 2022

* Update Sun Jul 24 15:36:39 UTC 2022

* Update Mon Jul 25 12:04:56 UTC 2022

* * Add https:// to the homepage so that it is a valid URI.

* Added usage.
* Forced pkgconfig to be required rather than quiet.
* Changed tabs to spaces in portfile.cmake.

* Update Mon Aug 15 12:38:09 UTC 2022

* Update Mon Aug 15 13:08:33 UTC 2022

* Put back missing patches

* Update portfile.cmake

* fix breakage of wrapping

* Update Mon Aug 15 13:59:12 UTC 2022

* fix up version file

* fix newlines where they dont belong

* update version

* updtae version

* update version

* Update Wed Aug 31 16:35:42 UTC 2022

* Update Sat Sep  3 20:29:45 UTC 2022

* fix merge

Co-authored-by: Billy O'Neal <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2022-09-13 16:54:22 -07:00

35 lines
992 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO brainboxdotcc/DPP
REF 6832533388ae7437aca481420a40ef1a9b157b89
SHA512 472ec3379a4c33972dd47624ee492cc144c9c8638c6150bf0fa1e5992ae787a830bb84e41a16134ea3d59ca4f6cdab3b99113e22903287997aafe808bb676c90
HEAD_REF master
PATCHES
make-pkgconfig-required.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/dpp")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
file(
INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")