summaryrefslogtreecommitdiff
path: root/packages/net-libs/cppzmq
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-28 07:26:59 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-28 07:26:59 +0300
commit92748d3da5c8f1c3079516e4d582f1a123582f28 (patch)
tree797c7240b00ab6c860c52d1f6c0a86b5a543a8c6 /packages/net-libs/cppzmq
parentff48fafbdb4121e2be1ce5e9464f37f1ae732982 (diff)
cppzmq added
Diffstat (limited to 'packages/net-libs/cppzmq')
-rw-r--r--packages/net-libs/cppzmq/cppzmq-4.2.3.exheres-06
-rw-r--r--packages/net-libs/cppzmq/cppzmq-scm.exheres-06
-rw-r--r--packages/net-libs/cppzmq/cppzmq.exlib29
3 files changed, 41 insertions, 0 deletions
diff --git a/packages/net-libs/cppzmq/cppzmq-4.2.3.exheres-0 b/packages/net-libs/cppzmq/cppzmq-4.2.3.exheres-0
new file mode 100644
index 0000000..3470791
--- /dev/null
+++ b/packages/net-libs/cppzmq/cppzmq-4.2.3.exheres-0
@@ -0,0 +1,6 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require cppzmq
+
+PLATFORMS="~amd64 ~x86"
diff --git a/packages/net-libs/cppzmq/cppzmq-scm.exheres-0 b/packages/net-libs/cppzmq/cppzmq-scm.exheres-0
new file mode 100644
index 0000000..3470791
--- /dev/null
+++ b/packages/net-libs/cppzmq/cppzmq-scm.exheres-0
@@ -0,0 +1,6 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require cppzmq
+
+PLATFORMS="~amd64 ~x86"
diff --git a/packages/net-libs/cppzmq/cppzmq.exlib b/packages/net-libs/cppzmq/cppzmq.exlib
new file mode 100644
index 0000000..8369ff6
--- /dev/null
+++ b/packages/net-libs/cppzmq/cppzmq.exlib
@@ -0,0 +1,29 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+
+require github [ user=zeromq tag=v${PV} force_git_clone=true ]
+
+SUMMARY="High-level CPP Binding for ZeroMQ"
+HOMEPAGE="https://github.com/zeromq/cppzmq"
+SLOT="0"
+LICENCES="MIT"
+
+export_exlib_phases src_install src_test
+
+MYOPTIONS=""
+
+DEPENDENCIES="
+ run+test:
+ net-libs/zeromq[>=4]
+"
+
+cppzmq_src_test() {
+ edo $(exhost --target)-c++ -c ./zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o
+}
+
+cppzmq_src_install() {
+ insinto /usr/$(exhost --target)/include/
+ doins zmq.hpp zmq_addon.hpp
+}
+