From patchwork Thu Mar 21 13:01:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 229667 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 7F3962C00C3 for ; Fri, 22 Mar 2013 00:01:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C35DDA0216; Thu, 21 Mar 2013 13:01:35 +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 nPehDtf5ZaQU; Thu, 21 Mar 2013 13:01:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6AB83A0265; Thu, 21 Mar 2013 13:01:33 +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 52FBD8F74B for ; Thu, 21 Mar 2013 13:01:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7CB688D35A for ; Thu, 21 Mar 2013 13:01:31 +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 C5t1VrHlGvIi for ; Thu, 21 Mar 2013 13:01:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3E3A18D359 for ; Thu, 21 Mar 2013 13:01:30 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id q15so887037ead.13 for ; Thu, 21 Mar 2013 06:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=6LRBaXLKKbwdP9psLTSrsBYwWrHldRArpoR7gKBnx8E=; b=q9PTJkioo2PY+6yIW52JGzs7b1TRf0fXKKxtfVoHk20Hf3suHDywfLzkScxod/EtW2 hPVhm+NtOxvhFv0RiOZiyj/wUAiTNfGpF4nS8bVQfXm2RmjNOyL4x+9VIdBoq4aQHdVU AqThlwCxyougyb+GngK9dH9vTWHrSavhmg0i+w9KX74iRTkZZ+z5L6OZp8oOkpA5VxOb 7efueYrEWea29yC7faf8Sb5PBKChPvUu1kNlVkYukgaFDrjwAeV/m6S3iGbpxe818xBX /0MD8phvrTCa2CcH89MHtKiROqO1jIMIP/UMuKB2k/2n/vje9VlaS9QHYVf3lLV692/H W8Iw== X-Received: by 10.14.4.69 with SMTP id 45mr82917126eei.0.1363870888688; Thu, 21 Mar 2013 06:01:28 -0700 (PDT) Received: from localhost.localdomain (host86-140-123-88.range86-140.btcentralplus.com. [86.140.123.88]) by mx.google.com with ESMTPS id 3sm8305080eej.6.2013.03.21.06.01.27 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 06:01:27 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Thu, 21 Mar 2013 13:01:25 +0000 Message-Id: <1363870885-27916-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] 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 --- package/Config.in | 1 + package/czmq/Config.in | 14 ++++++++++++++ package/czmq/czmq.mk | 22 ++++++++++++++++++++++ 3 files changed, 37 insertions(+) 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 94e279b..84bfdbf 100644 --- a/package/Config.in +++ b/package/Config.in @@ -494,6 +494,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..20d9285 --- /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++, 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..98991fe --- /dev/null +++ b/package/czmq/czmq.mk @@ -0,0 +1,22 @@ +############################################################# +# +# czmq +# +############################################################# + +CZMQ_VERSION = cb9839cf90 +CZMQ_SITE = git://github.com/zeromq/czmq.git + +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_PRE_CONFIGURE_HOOKS += CZMQ_CREATE_CONFIG_DIR + +$(eval $(autotools-package))