From patchwork Sun Mar 24 22:50:47 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: 230523 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 A08E42C0082 for ; Mon, 25 Mar 2013 09:55:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C7AEBA040A; Sun, 24 Mar 2013 22:55:56 +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 Thr6LflAQVgm; Sun, 24 Mar 2013 22:55:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 884D8A032A; Sun, 24 Mar 2013 22:51:55 +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 B37F88F753 for ; Sun, 24 Mar 2013 22:51:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 54B638CF62 for ; Sun, 24 Mar 2013 22:51:20 +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 PoI6IvbJdjte for ; Sun, 24 Mar 2013 22:51:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by whitealder.osuosl.org (Postfix) with ESMTPS id 178198CF10 for ; Sun, 24 Mar 2013 22:51:18 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id dq12so717541wgb.12 for ; Sun, 24 Mar 2013 15:51:17 -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=FFGlwjmIQU0Eks5OGXAGaxg57Y5I13lrZFOuINyXWlc=; b=mI72DAxzv+Tgu/n+eAjdrhmWGxEq9lONR1DiOGbZPhl12/8Tc+OlTf4SPwe6K+HyjA 5WtrlcJBlHldBaRGhcFNGUtjP0O2/+X8w8ZqKujpxIAoaO2PphY3H2Tan4Niwz8NQL36 Y8J0PlCFFdormwsqkU9FypXAcyFK5sE2NCsyuRyj+O3MOD8J8n0pHF80s5vHsfU/nAyZ F4IDDr1xRGNmrocw4OhFrEeosTTC+dJh5NE+xu7tNVHRm+YkcmEFN2jo1x/mbPV/+9f0 ds5gh1FljfFsf+ucOYOhxn6nBBNXmNq6MVi21U7TIlYZ6iWsRWX2aSG80ItzCQsBVjma z5Ag== X-Received: by 10.194.121.6 with SMTP id lg6mr14300566wjb.22.1364165477304; Sun, 24 Mar 2013 15:51:17 -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.15 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 24 Mar 2013 15:51:16 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 24 Mar 2013 23:50:47 +0100 Message-Id: <037c4148af68b0e9308bd249935048fc80a8ec9f.1364165310.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 12/14] czmq: 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 Signed-off-by: Simon Dawson [yann.morin.1998@free.fr: create dir as post-patch, not pre-configure] Signed-off-by: "Yann E. MORIN" --- package/Config.in | 1 + package/czmq/Config.in | 14 ++++++++++++++ package/czmq/czmq.mk | 23 +++++++++++++++++++++++ 3 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 package/czmq/Config.in create mode 100644 package/czmq/czmq.mk diff --git a/package/Config.in b/package/Config.in index 5d8f4f6..d3901b4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -496,6 +496,7 @@ source "package/mediastreamer/Config.in" endmenu menu "Networking" +source "package/czmq/Config.in" source "package/glib-networking/Config.in" source "package/libcgi/Config.in" source "package/libcgicc/Config.in" diff --git a/package/czmq/Config.in b/package/czmq/Config.in new file mode 100644 index 0000000..9fd8e86 --- /dev/null +++ b/package/czmq/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_CZMQ + bool "czmq" + select BR2_PACKAGE_ZEROMQ + depends on BR2_INSTALL_LIBSTDCPP # zeromq + depends on BR2_INET_IPV6 # zeromq + depends on BR2_LARGEFILE # util-linux + depends on BR2_USE_WCHAR # util-linux + help + High-level C Binding for 0MQ + + http://czmq.zeromq.org/ + +comment "czmq 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/czmq/czmq.mk b/package/czmq/czmq.mk new file mode 100644 index 0000000..2b34654 --- /dev/null +++ b/package/czmq/czmq.mk @@ -0,0 +1,23 @@ +############################################################# +# +# czmq +# +############################################################# + +CZMQ_VERSION = cb9839cf90 +CZMQ_SITE = git://github.com/zeromq/czmq.git + +# Autoreconf required as we use the git tree +CZMQ_AUTORECONF = YES +CZMQ_INSTALL_STAGING = YES +CZMQ_DEPENDENCIES = zeromq +CZMQ_LICENSE = LGPLv3+ with exceptions +CZMQ_LICENSE_FILES = COPYING COPYING.LESSER + +define CZMQ_CREATE_CONFIG_DIR + mkdir -p $(@D)/config +endef + +CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR + +$(eval $(autotools-package))