From patchwork Sun Mar 24 22:50:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 230524 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id CB4782C0082 for ; Mon, 25 Mar 2013 09:56:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C82CFA027E; Sun, 24 Mar 2013 22:56:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TScqRv+eurK3; Sun, 24 Mar 2013 22:55:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1F483A037D; Sun, 24 Mar 2013 22:52:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5F5528F753 for ; Sun, 24 Mar 2013 22:51:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E7F3C8CF62 for ; Sun, 24 Mar 2013 22:51:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1pWjE-3NdAjK for ; Sun, 24 Mar 2013 22:51:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7D2938CF10 for ; Sun, 24 Mar 2013 22:51:20 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id fm10so1580020wgb.21 for ; Sun, 24 Mar 2013 15:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=K5FEqOl0rtZeqbGKvPGXNkamEDwrU+q0zcgiWzk65NM=; b=pQNXwSHverWP7qK9WljSKZ89NSf8WDyGXhVV/u5t0U+X3pSXJdWyJSA5ecyXXBYqMC DkTr2Py0Y3HoGkUbOZaI7J7UFvRbw7HWXp1Rew/YkrFGFYiEJy1y15HQ0PnMzJn9JMT2 Tp8verbCLB3fiUwtAw9Zyubg2TAh4jANyZF5SrQIYP1OxC4v7tmPZHkTtDZMoUmQjZKC 8psFbkXq6LOMSynxNNz5xby6KYB1CXhhQeAJ6arJ5cxzekOl0Wq5kMCMSGxO1+M2U5b1 n/P/azZcjyo98iPJHU9tawh/FyKOsE1cXKqScFSYBPPEfzs4YZ+l3/OOoQ88nYDlLAqX TXYA== X-Received: by 10.180.182.36 with SMTP id eb4mr15767084wic.8.1364165478766; Sun, 24 Mar 2013 15:51:18 -0700 (PDT) Received: from localhost.localdomain (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPS id er1sm16514587wib.5.2013.03.24.15.51.17 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 24 Mar 2013 15:51:18 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 24 Mar 2013 23:50:48 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 13/14] cppzmq: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net From: Simon Dawson Now that zeromq has been bumped to version 3.2.2, we need to provide the C++ binding using a separate package. The cppzmq package provides a simple single-header C++ binding. Signed-off-by: Simon Dawson [yann.morin.1998@free.fr: add comment about no license file] Signed-off-by: "Yann E. MORIN" --- package/Config.in | 1 + package/cppzmq/Config.in | 15 +++++++++++++++ package/cppzmq/cppzmq.mk | 23 +++++++++++++++++++++++ 3 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 package/cppzmq/Config.in create mode 100644 package/cppzmq/cppzmq.mk diff --git a/package/Config.in b/package/Config.in index d3901b4..23c9bb3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -497,6 +497,7 @@ endmenu menu "Networking" source "package/czmq/Config.in" +source "package/cppzmq/Config.in" source "package/glib-networking/Config.in" source "package/libcgi/Config.in" source "package/libcgicc/Config.in" diff --git a/package/cppzmq/Config.in b/package/cppzmq/Config.in new file mode 100644 index 0000000..ea632d1 --- /dev/null +++ b/package/cppzmq/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_CPPZMQ + bool "cppzmq" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_INET_IPV6 # zeromq + depends on BR2_LARGEFILE # util-linux + depends on BR2_USE_WCHAR # util-linux + select BR2_PACKAGE_ZEROMQ + help + C++ binding for zeromq (ZeroMQ, 0MQ, zmq). + + http://github.com/zeromq/cppzmq + +comment "cppzmq requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \ + && BR2_USE_WCHAR) diff --git a/package/cppzmq/cppzmq.mk b/package/cppzmq/cppzmq.mk new file mode 100644 index 0000000..d4609bf --- /dev/null +++ b/package/cppzmq/cppzmq.mk @@ -0,0 +1,23 @@ +############################################################# +# +# cppzmq +# +############################################################# + +CPPZMQ_VERSION = b232978 +CPPZMQ_SITE = git://github.com/zeromq/cppzmq.git +CPPZMQ_INSTALL_STAGING = YES +CPPZMQ_DEPENDENCIES = zeromq +CPPZMQ_LICENSE = MIT +# No license file, the license is in the installed header +CPPZMQ_LICENSE_FILES = zmq.hpp + +define CPPZMQ_INSTALL_STAGING_CMDS + $(INSTALL) -m 0644 -D $(@D)/zmq.hpp $(STAGING_DIR)/usr/include/zmq.hpp +endef + +define CPPZMQ_UNINSTALL_STAGING_CMDS + $(RM) $(STAGING_DIR)/usr/include/zmq.hpp +endef + +$(eval $(generic-package))