vcpkg/ports/wxcharts/portfile.cmake
Ronald a2de7817a5
[wxcharts] Add new port (#24263)
* port wxcharts

* regulate

* add license in vcpkg.json

* fix url

* Update version database

* Update ports/wxcharts/portfile.cmake

vcpkg_from_github instead of vcpkg_from_git

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* try vcpkg_from_github instead of vcpkg_from_git

* add hash

* remove comments

* Update version database

* the patch has been merged in upstream, no need here

* Update version

* Update ports/wxcharts/vcpkg.json

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* Update version

* Update versions/w-/wxcharts.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

Co-authored-by: abc <a@b.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
2022-04-25 15:45:16 -07:00

18 lines
601 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wxIshiko/wxCharts
REF c7c7eb4c4132eeb83f25546b1b981dc61e5c188f
SHA512 f46cf467b356e2ffa46db020de42f8aca9beab801e2ade50f7e75650bba9bc83c641702dcd5ee45e82425b96d4371b82e7f16dce3077050a86ba696ed5c326de
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)