Signed-off-by: Alexander Aring <alex.ar...@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 <a...@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 <a...@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