# Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr 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 }