blob: 8369ff62f019a47363c1a75d68377b24157cb00b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}
|