aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2017-03-13 14:27:53 -0700
committerGitHub <noreply@github.com>2017-03-13 14:27:53 -0700
commit0e4aa7d3e67639ba2f666a7f7569f345a763b36c (patch)
treefd6b2364c36f870cb30de47d1e828607c29ac2b7
parente387f314a832a411df643ddaf4e7e8be525ebfa4 (diff)
parent327087edc3aa14ac93554b28ce56aadc48ab07ec (diff)
downloadvcpkg-0e4aa7d3e67639ba2f666a7f7569f345a763b36c.tar.gz
vcpkg-0e4aa7d3e67639ba2f666a7f7569f345a763b36c.zip
Merge pull request #781 from jhruby/master
Beast library port
-rw-r--r--ports/beast/CONTROL4
-rw-r--r--ports/beast/portfile.cmake12
2 files changed, 16 insertions, 0 deletions
diff --git a/ports/beast/CONTROL b/ports/beast/CONTROL
new file mode 100644
index 000000000..467ee98ba
--- /dev/null
+++ b/ports/beast/CONTROL
@@ -0,0 +1,4 @@
+Source: beast
+Version: 1.0.0-b30
+Build-Depends: boost
+Description: Boost.Asio based header only HTTP and WebSocket on C++11
diff --git a/ports/beast/portfile.cmake b/ports/beast/portfile.cmake
new file mode 100644
index 000000000..824d2f670
--- /dev/null
+++ b/ports/beast/portfile.cmake
@@ -0,0 +1,12 @@
+# header only
+include(vcpkg_common_functions)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/beast-1.0.0-b30)
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://github.com/vinniefalco/Beast/archive/v1.0.0-b30.zip"
+ FILENAME "beast-1.0.0-b30.zip"
+ SHA512 af801748efabafef1b7ae817be9da9480dcf881b3037f92e5997e42255399bd7b22772bb2a5c9aab7d01c31c7995c4d23a41f4b7f6ccdef18d9a8a15906fd43f
+)
+vcpkg_extract_source_archive(${ARCHIVE})
+
+file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/beast RENAME copyright) \ No newline at end of file