summaryrefslogtreecommitdiffstats
path: root/package/websocketpp
diff options
context:
space:
mode:
Diffstat (limited to 'package/websocketpp')
-rw-r--r--package/websocketpp/Config.in15
-rw-r--r--package/websocketpp/websocketpp.hash3
-rw-r--r--package/websocketpp/websocketpp.mk15
3 files changed, 33 insertions, 0 deletions
diff --git a/package/websocketpp/Config.in b/package/websocketpp/Config.in
new file mode 100644
index 0000000000..cadb9ff696
--- /dev/null
+++ b/package/websocketpp/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_WEBSOCKETPP
+ bool "websocketpp"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ WebSocket++ is a header only C++ library that implements
+ RFC6455 The WebSocket Protocol. It allows integrating
+ WebSocket client and server functionality into C++ programs.
+ It uses interchangeable network transport modules including
+ one based on C++ iostreams and one based on Boost Asio.
+
+ http://www.zaphoyd.com/websocketpp
+
+comment "websocketpp needs a toolchain w/ C++ and gcc >= 4.8"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
diff --git a/package/websocketpp/websocketpp.hash b/package/websocketpp/websocketpp.hash
new file mode 100644
index 0000000000..8bf671d96e
--- /dev/null
+++ b/package/websocketpp/websocketpp.hash
@@ -0,0 +1,3 @@
+# Locally Computed:
+sha256 178899de48c02853b55b1ea8681599641cedcdfce59e56beaff3dd0874bf0286 websocketpp-0.8.1.tar.gz
+sha256 b31e597bc777d884a39663c11d0557a0af40780e1f451de11ea5103924a69667 COPYING
diff --git a/package/websocketpp/websocketpp.mk b/package/websocketpp/websocketpp.mk
new file mode 100644
index 0000000000..47da4dbe2f
--- /dev/null
+++ b/package/websocketpp/websocketpp.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# websocketpp
+#
+################################################################################
+
+WEBSOCKETPP_VERSION = 0.8.1
+WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION))
+WEBSOCKETPP_LICENSE = BSD-3c, MIT, Zlib
+WEBSOCKETPP_LICENSE_FILES = COPYING
+WEBSOCKETPP_INSTALL_STAGING = YES
+# Only installs headers
+WEBSOCKETPP_INSTALL_TARGET = NO
+
+$(eval $(cmake-package))
OpenPOWER on IntegriCloud