aboutsummaryrefslogtreecommitdiff
path: root/ports/rxcpp
diff options
context:
space:
mode:
authorJan HrubĂ˝ <jhruby.web@gmail.com>2017-03-13 08:56:05 +0100
committerGitHub <noreply@github.com>2017-03-13 08:56:05 +0100
commit665f4118f603c5858217ed7a2f2f824b18ff4fc5 (patch)
treef0167041edf71e90f2331b5025f603392a8de67a /ports/rxcpp
parent1bec0fcb73073b5b1719f454c368a63f1bff625e (diff)
parent1c9873a0daf625f67474aaf3e163c592c27ecb65 (diff)
downloadvcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.tar.gz
vcpkg-665f4118f603c5858217ed7a2f2f824b18ff4fc5.zip
Merge pull request #1 from Microsoft/master
pull
Diffstat (limited to 'ports/rxcpp')
-rw-r--r--ports/rxcpp/CONTROL3
-rw-r--r--ports/rxcpp/portfile.cmake23
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/rxcpp/CONTROL b/ports/rxcpp/CONTROL
new file mode 100644
index 000000000..02b873816
--- /dev/null
+++ b/ports/rxcpp/CONTROL
@@ -0,0 +1,3 @@
+Source: rxcpp
+Version: 3.0.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..4a321222d
--- /dev/null
+++ b/ports/rxcpp/portfile.cmake
@@ -0,0 +1,23 @@
+#header-only library
+include(vcpkg_common_functions)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/RxCpp-3.0.0)
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://github.com/Reactive-Extensions/RxCpp/archive/v3.0.0.tar.gz"
+ FILENAME "RxCpp-v3.0.0.tar.gz"
+ SHA512 6d810b6163d0920d531f32a13729e290c81b47d5fc9c3e3d3d8a25d27a6f0671fec097d091bef7383b7e556e9e5471db087bb955e7f4fd9a5fdc9e7b06050844
+)
+vcpkg_extract_source_archive(${ARCHIVE})
+
+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