websocketpp: Add package (WebSocket++)
authorBruno Randolf <redacted>
Wed, 26 Sep 2018 11:27:27 +0000 (12:27 +0100)
committerKarl Palsson <redacted>
Sun, 28 Oct 2018 19:57:08 +0000 (19:57 +0000)
WebSocket++ is a header only C++ library that implements RFC6455 The
WebSocket Protocol.

Signed-off-by: Bruno Randolf <redacted>
libs/websocketpp/Makefile [new file with mode: 0644]

diff --git a/libs/websocketpp/Makefile b/libs/websocketpp/Makefile
new file mode 100644 (file)
index 0000000..6979573
--- /dev/null
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2018 Bruno Randolf (br1@einfach.org)
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=websocketpp
+PKG_VERSION:=0.8.1
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/zaphoyd/websocketpp/archive/$(PKG_VERSION)/
+PKG_HASH:=178899de48c02853b55b1ea8681599641cedcdfce59e56beaff3dd0874bf0286
+
+PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=COPYING
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/cmake.mk
+
+CMAKE_INSTALL:=1
+
+define Package/websocketpp
+       SECTION:=libs
+       CATEGORY:=Libraries
+       TITLE:=WebSocket++
+       URL:=https://www.zaphoyd.com/websocketpp
+endef
+
+define Package/websocketpp/description
+       WebSocket++ is a header only C++ library that implements RFC6455
+       The WebSocket Protocol.
+endef
+
+$(eval $(call BuildPackage,websocketpp))
git clone https://git.99rst.org/PROJECT