diff options
| author | sdcb <sdflysha@qq.com> | 2016-10-08 11:54:43 +0800 |
|---|---|---|
| committer | sdcb <sdflysha@qq.com> | 2016-10-08 11:54:43 +0800 |
| commit | ad7b89394096cfc97b357d5aa23cfb85e58faaf1 (patch) | |
| tree | 9268949578f7dd7290130374ac5e573474c8753f | |
| parent | c91da2b0c4c3d9218c0b4d1712d744bb35245a61 (diff) | |
| download | vcpkg-ad7b89394096cfc97b357d5aa23cfb85e58faaf1.tar.gz vcpkg-ad7b89394096cfc97b357d5aa23cfb85e58faaf1.zip | |
add RxCpp for https://github.com/Microsoft/vcpkg/issues/47.
| -rw-r--r-- | ports/rxcpp/CONTROL | 3 | ||||
| -rw-r--r-- | ports/rxcpp/portfile.cmake | 23 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/rxcpp/CONTROL b/ports/rxcpp/CONTROL new file mode 100644 index 000000000..b4440da35 --- /dev/null +++ b/ports/rxcpp/CONTROL @@ -0,0 +1,3 @@ +Source: rxcpp +Version: 2.3.0 +Description: Reactive Extensions for C++
\ No newline at end of file diff --git a/ports/rxcpp/portfile.cmake b/ports/rxcpp/portfile.cmake new file mode 100644 index 000000000..15d0dc15c --- /dev/null +++ b/ports/rxcpp/portfile.cmake @@ -0,0 +1,23 @@ +include(${CMAKE_TRIPLET_FILE}) +include(vcpkg_common_functions) +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-2.3.0) +vcpkg_download_distfile(ARCHIVE_FILE + URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v2.3.0.tar.gz" + FILENAME "RxCpp-2.3.0.tar.gz" + SHA512 180cf36777b0c14e989b4b79f01fcda7ecabfe4b3cee3ad7343138497578af02745de63f74941ec228eac3fccca4a7dfdfdd1c4d16a89438022dca6f9968953f +) +vcpkg_extract_source_archive(${ARCHIVE_FILE}) + +file(INSTALL + ${SOURCE_PATH}/Rx/v2/src/rxcpp + DESTINATION ${CURRENT_PACKAGES_DIR}/include +) + +file(INSTALL + ${SOURCE_PATH}/Ix/CPP/src/cpplinq + DESTINATION ${CURRENT_PACKAGES_DIR}/include +) + +file(INSTALL + ${SOURCE_PATH}/license.md + DESTINATION ${CURRENT_PACKAGES_DIR}/share/rxcpp RENAME copyright)
\ No newline at end of file |
