From patchwork Sat Aug 13 11:26:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Manuel_Gro=C3=9F?= X-Patchwork-Id: 658960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sBKGB2G66z9sxR for ; Sat, 13 Aug 2016 21:26:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 63E5D88C40; Sat, 13 Aug 2016 11:26:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nB6E4sveNgfz; Sat, 13 Aug 2016 11:26:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 25CA788A1E; Sat, 13 Aug 2016 11:26:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 962B31CEA86 for ; Sat, 13 Aug 2016 11:26:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 90C918BD2F for ; Sat, 13 Aug 2016 11:26:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21oSeK5lcEaN for ; Sat, 13 Aug 2016 11:26:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from antila.uberspace.de (antila.uberspace.de [95.143.172.202]) by whitealder.osuosl.org (Postfix) with ESMTPS id A669A8BD85 for ; Sat, 13 Aug 2016 11:26:35 +0000 (UTC) Received: (qmail 26943 invoked from network); 13 Aug 2016 11:26:31 -0000 Received: from localhost (HELO jenova.fritz.box) (127.0.0.1) by antila.uberspace.de with SMTP; 13 Aug 2016 11:26:31 -0000 From: =?UTF-8?q?Manuel=20Gro=C3=9F?= To: buildroot@uclibc.org Date: Sat, 13 Aug 2016 13:26:29 +0200 Message-Id: <20160813112629.31883-1-mgr@nordkrater.de> X-Mailer: git-send-email 2.9.2 Subject: [Buildroot] [PATCH] websocketpp: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This package provides websocketpp, a header only C++ library that implements websocket client and server functionality. --- package/Config.in | 1 + package/websocketpp/Config.in | 12 ++++++++++++ package/websocketpp/websocketpp.mk | 21 +++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/websocketpp/Config.in create mode 100644 package/websocketpp/websocketpp.mk diff --git a/package/Config.in b/package/Config.in index 645fa29..e99850d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1242,6 +1242,7 @@ menu "Networking" source "package/sofia-sip/Config.in" source "package/thrift/Config.in" source "package/usbredir/Config.in" + source "package/websocketpp/Config.in" source "package/wvstreams/Config.in" source "package/zeromq/Config.in" source "package/zmqpp/Config.in" diff --git a/package/websocketpp/Config.in b/package/websocketpp/Config.in new file mode 100644 index 0000000..2b24b0d --- /dev/null +++ b/package/websocketpp/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_WEBSOCKETPP + bool "websocketpp" + 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 raw char buffers, one based + on C++ iostreams, and one based on Asio (either via Boost or + standalone). End users can write additional transport policies to + support other networking or event libraries as needed. + + http://www.zaphoyd.com/websocketpp/ diff --git a/package/websocketpp/websocketpp.mk b/package/websocketpp/websocketpp.mk new file mode 100644 index 0000000..00f451f --- /dev/null +++ b/package/websocketpp/websocketpp.mk @@ -0,0 +1,21 @@ +################################################################################ +# +## websocketpp +# +################################################################################# + +WEBSOCKETPP_VERSION = 0.7.0 +WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION)) +WEBSOCKETPP_INSTALL_STAGING = YES +WEBSOCKETPP_LICENSE = BSD or MIT +WEBSOCKETPP_LICENSE_FILES = COPYING + +WEBSOCKETPP_VERSION_CONF_OPTS = \ + CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" + +define WEBSOCKETPP_INSTALL_STAGING_CMDS + cp -vR $(@D)/websocketpp $(STAGING_DIR)/usr/include/websocketpp +endef + +$(eval $(generic-package))