vcpkg/ports/asiochan/portfile.cmake
vipcxj 710677da49
[asiochan] add new port (#36289)
* add port asiochan

* simplify deploy

* simplify deploy

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* update git-tree

* simplify deploy

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* update git-tree

* change version to version-date

* update git-tree

---------

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2024-02-05 11:44:17 -08:00

13 lines
537 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO MiSo1289/asiochan
REF 837d7eb78ca9796af800ca3cd91ce0a8fe297785
SHA512 58e1e3291dc980ed59b0bc1fdcaa35db007e0044f4cbd352917caefa2d30b0c76a3db180091c1895867a3d026ce69f3a82b33dde3970cba5bef596620a2b20f8
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")