From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WJ87L-00040l-6t for ptxdist@pengutronix.de; Thu, 27 Feb 2014 22:03:43 +0100 Received: by mail-ea0-f178.google.com with SMTP id a15so2121889eae.23 for ; Thu, 27 Feb 2014 13:03:36 -0800 (PST) From: Alexander Aring Date: Thu, 27 Feb 2014 22:03:04 +0100 Message-Id: <1393534984-30643-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [PATCH] libzmq: add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring Signed-off-by: Alexander Aring --- rules/libzmq.in | 12 +++++++++++ rules/libzmq.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 rules/libzmq.in create mode 100644 rules/libzmq.make diff --git a/rules/libzmq.in b/rules/libzmq.in new file mode 100644 index 0000000..c272f84 --- /dev/null +++ b/rules/libzmq.in @@ -0,0 +1,12 @@ +## SECTION=networking + +config LIBZMQ + tristate + prompt "libzmq" + help + The zeroMQ lightweight messaging kernel is a library which extends the + standard socket interfaces with features traditionally provided by + specialised messaging middleware products. zeroMQ sockets provide an + abstraction of asynchronous message queues, multiple messaging patterns, + message filtering (subscriptions), seamless access to multiple transport + protocols and more. diff --git a/rules/libzmq.make b/rules/libzmq.make new file mode 100644 index 0000000..56f505f --- /dev/null +++ b/rules/libzmq.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Alexander Aring +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBZMQ) += libzmq + +# +# Paths and names +# +LIBZMQ_VERSION := 4.0.3 +LIBZMQ_MD5 := 8348341a0ea577ff311630da0d624d45 +LIBZMQ := zeromq-$(LIBZMQ_VERSION) +LIBZMQ_SUFFIX := tar.gz +LIBZMQ_URL := http://download.zeromq.org/$(LIBZMQ).$(LIBZMQ_SUFFIX) +LIBZMQ_SOURCE := $(SRCDIR)/$(LIBZMQ).$(LIBZMQ_SUFFIX) +LIBZMQ_DIR := $(BUILDDIR)/$(LIBZMQ) +LIBZMQ_LICENSE := LGPLv3+ + +# +# autoconf +# +LIBZMQ_CONF_TOOL := autoconf +LIBZMQ_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --enable-shared \ + --disable-static \ + --with-gnu-ld \ + --without-documentation + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libzmq.targetinstall: + @$(call targetinfo) + + @$(call install_init, libzmq) + @$(call install_fixup, libzmq,PRIORITY,optional) + @$(call install_fixup, libzmq,SECTION,base) + @$(call install_fixup, libzmq,AUTHOR,"Alexander Aring ") + @$(call install_fixup, libzmq,DESCRIPTION,missing) + + @$(call install_lib, libzmq, 0, 0, 0644, libzmq) + @$(call install_copy, libzmq, 0, 0, 0755, -, /usr/bin/curve_keygen) + + @$(call install_finish, libzmq) + + @$(call touch) + +# vim: syntax=make -- 1.9.0 -- ptxdist mailing list ptxdist@pengutronix.de