mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [PATCH] libzmq: add new package
Date: Thu, 27 Feb 2014 22:03:04 +0100	[thread overview]
Message-ID: <1393534984-30643-1-git-send-email-alex.aring@gmail.com> (raw)

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
 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 <aar@pengutronix.de>
+#
+# 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 <aar@pengutronix.de>")
+	@$(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

             reply	other threads:[~2014-02-27 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27 21:03 Alexander Aring [this message]
2014-03-06 17:52 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393534984-30643-1-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox