diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-02-27 22:03:04 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-03-03 13:04:10 +0100 |
commit | ea29a0a27fa0bb1fbcdf755011547c0804476416 (patch) | |
tree | ca2245417ee90d1f2ce83003d4b96885671c3b5e /rules | |
parent | c82abed2a7e36fd88b786febfa49d426643ef6e2 (diff) | |
download | ptxdist-ea29a0a27fa0bb1fbcdf755011547c0804476416.tar.gz ptxdist-ea29a0a27fa0bb1fbcdf755011547c0804476416.tar.xz |
libzmq: add new package
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/libzmq.in | 12 | ||||
-rw-r--r-- | rules/libzmq.make | 59 |
2 files changed, 71 insertions, 0 deletions
diff --git a/rules/libzmq.in b/rules/libzmq.in new file mode 100644 index 000000000..c272f845d --- /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 000000000..56f505f0b --- /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 |