Skip to content

Commit

Permalink
[asynch]Add new port. (microsoft#8317)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinZhangH authored and Rastaban committed Sep 24, 2019
1 parent 7bcd17f commit 16fc29b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/asynch/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: asynch
Version: 2019-09-21
Homepage: https://github.com/naasking/async.h
Description: Async.h - asynchronous, stackless subroutines.
15 changes: 15 additions & 0 deletions ports/asynch/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO naasking/async.h
REF 080cbb257ab60ad06008c574d7feb94f8478efdd #Commits on Sep 21, 2019
SHA512 4fe0229ffd8b3c6438294a419ccb213b4d28a0a04d834406b67120e9bc90d339ec91f3b3eb52d4e27c1f12add41e9347bffbea47868b0d7a1da40f784d113c71
HEAD_REF master
)

# Copy the single reusable library header
file(COPY ${SOURCE_PATH}/async/async.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)

0 comments on commit 16fc29b

Please sign in to comment.