diff options
| author | Michele Caini <michele.caini@gmail.com> | 2018-10-20 22:19:05 +0200 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-10-20 13:19:05 -0700 |
| commit | 2e0338ce934129d0cfb79157b5aae566a12bc38c (patch) | |
| tree | f7034740b78e2c6612c0352187d92bb48e0fb500 | |
| parent | 363d924a23703ad76ead83a6f6f2b3283d135fe8 (diff) | |
| download | vcpkg-2e0338ce934129d0cfb79157b5aae566a12bc38c.tar.gz vcpkg-2e0338ce934129d0cfb79157b5aae566a12bc38c.zip | |
uvw port (#4510)
| -rw-r--r-- | ports/uvw/CONTROL | 3 | ||||
| -rw-r--r-- | ports/uvw/portfile.cmake | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ports/uvw/CONTROL b/ports/uvw/CONTROL new file mode 100644 index 000000000..1fc066ee2 --- /dev/null +++ b/ports/uvw/CONTROL @@ -0,0 +1,3 @@ +Source: uvw +Version: 1.11.2 +Description: Header-only, event based, tiny and easy to use libuv wrapper in modern C++. <https://github.com/skypjack/uvw> diff --git a/ports/uvw/portfile.cmake b/ports/uvw/portfile.cmake new file mode 100644 index 000000000..0cbacec21 --- /dev/null +++ b/ports/uvw/portfile.cmake @@ -0,0 +1,18 @@ +#header-only library +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO skypjack/uvw + REF v1.11.2_libuv-v1.23 + SHA512 0125233645351b94acb1b42f1632365a60892c64f00b27f04ae76fa523c4ee32c9910f0fcfb160b15269bfb0b5ae0c0f8b46d83a1ca9f9fc661b75eecb7a04d3 +) + +file(INSTALL + ${SOURCE_PATH}/src/uvw + DESTINATION ${CURRENT_PACKAGES_DIR}/include +) + +# Handle copyright/readme/package files +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/uvw RENAME copyright) +file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/uvw) |
