Signed-off-by: Markus Pargmann <[email protected]>
---
 rules/cppzmq.in   |  8 ++++++++
 rules/cppzmq.make | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 rules/cppzmq.in
 create mode 100644 rules/cppzmq.make

diff --git a/rules/cppzmq.in b/rules/cppzmq.in
new file mode 100644
index 000000000000..8494cfbe10af
--- /dev/null
+++ b/rules/cppzmq.in
@@ -0,0 +1,8 @@
+## SECTION=networking
+
+config CPPZMQ
+       tristate
+       prompt "cppzmq"
+       select LIBZMQ
+       help
+         C++ lib zmq bindings
diff --git a/rules/cppzmq.make b/rules/cppzmq.make
new file mode 100644
index 000000000000..91aa1f4afb55
--- /dev/null
+++ b/rules/cppzmq.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Markus Pargmann <[email protected]>
+#
+# 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_CPPZMQ) += cppzmq
+
+#
+# Paths and names
+#
+CPPZMQ_VERSION := ee47ae4cddc3
+CPPZMQ_MD5     := cf5d2f77caaa0749e522c143fd5260c8
+CPPZMQ         := cppzmq-$(CPPZMQ_VERSION)
+CPPZMQ_SUFFIX  := tar.gz
+CPPZMQ_URL     := https://github.com/zeromq/cppzmq.git;tag=$(CPPZMQ_VERSION)
+CPPZMQ_SOURCE  := $(SRCDIR)/$(CPPZMQ).$(CPPZMQ_SUFFIX)
+CPPZMQ_DIR     := $(BUILDDIR)/$(CPPZMQ)
+CPPZMQ_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+CPPZMQ_CONF_TOOL       := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cppzmq.compile:
+       @$(call targetinfo)
+       @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cppzmq.install:
+       @$(call targetinfo)
+       install -D -m 0644 $(CPPZMQ_DIR)/zmq.hpp 
$(CPPZMQ_PKGDIR)/usr/include/zmq.hpp
+       @$(call touch)
+
+# vim: syntax=make
-- 
2.0.0


-- 
ptxdist mailing list
[email protected]

Reply via email to