diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/asynch | |
Diffstat (limited to 'vcpkg/ports/asynch')
| -rw-r--r-- | vcpkg/ports/asynch/portfile.cmake | 13 | ||||
| -rw-r--r-- | vcpkg/ports/asynch/vcpkg.json | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/asynch/portfile.cmake b/vcpkg/ports/asynch/portfile.cmake new file mode 100644 index 0000000..8f538a2 --- /dev/null +++ b/vcpkg/ports/asynch/portfile.cmake @@ -0,0 +1,13 @@ +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} RENAME copyright)
\ No newline at end of file diff --git a/vcpkg/ports/asynch/vcpkg.json b/vcpkg/ports/asynch/vcpkg.json new file mode 100644 index 0000000..9ee855b --- /dev/null +++ b/vcpkg/ports/asynch/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "asynch", + "version-date": "2019-09-21", + "port-version": 3, + "description": "Async.h - asynchronous, stackless subroutines.", + "homepage": "https://github.com/naasking/async.h" +} |