diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-09 20:55:58 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-09 20:55:58 -0700 |
| commit | 29cc5780feaacbfa77dabbc2230f29c57dbbef29 (patch) | |
| tree | 0f62e0d9233fff1ce990a95ce0cf9cd6a3526e37 | |
| parent | 8b9ec93d0945f35d620b3262c230c8f114a60590 (diff) | |
| download | vcpkg-29cc5780feaacbfa77dabbc2230f29c57dbbef29.tar.gz vcpkg-29cc5780feaacbfa77dabbc2230f29c57dbbef29.zip | |
[rxcpp] Use vcpkg_from_github()
| -rw-r--r-- | ports/rxcpp/CONTROL | 2 | ||||
| -rw-r--r-- | ports/rxcpp/portfile.cmake | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/ports/rxcpp/CONTROL b/ports/rxcpp/CONTROL index bf4c3cae8..7bf2aca17 100644 --- a/ports/rxcpp/CONTROL +++ b/ports/rxcpp/CONTROL @@ -1,3 +1,3 @@ Source: rxcpp -Version: 4.0.0 +Version: 4.0.0-1 Description: Reactive Extensions for C++
\ No newline at end of file diff --git a/ports/rxcpp/portfile.cmake b/ports/rxcpp/portfile.cmake index 888c05a2c..00b154989 100644 --- a/ports/rxcpp/portfile.cmake +++ b/ports/rxcpp/portfile.cmake @@ -1,12 +1,14 @@ #header-only library include(vcpkg_common_functions) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-4.0.0) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v4.0.0.tar.gz" - FILENAME "RxCpp-v4.0.0.tar.gz" + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Reactive-Extensions/RxCpp + REF v4.0.0 SHA512 df7582925e749fb7f9fbc085566d57a46571e18202aacaa7d35cf9da8152b29dd2886b2d07dae93e538f2a0f7b91d93fb3da23c34c7ea4467772515c794a25b7 + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) file(INSTALL ${SOURCE_PATH}/Rx/v2/src/rxcpp |
