diff options
Diffstat (limited to 'packages/net-libs/cppzmq/cppzmq.exlib')
-rw-r--r-- | packages/net-libs/cppzmq/cppzmq.exlib | 29 |
1 files changed, 29 insertions, 0 deletions
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 +} + |