mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libzmq: add new package
@ 2014-02-27 21:03 Alexander Aring
  2014-03-06 17:52 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2014-02-27 21:03 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Aring

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-06 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 21:03 [ptxdist] [PATCH] libzmq: add new package Alexander Aring
2014-03-06 17:52 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox