2018-02-07 08:20:31 +03:00
# Copyright 1999-2018 Gentoo Foundation
2015-06-07 21:06:26 +03:00
# Distributed under the terms of the GNU General Public License v2
EAPI = 5
2015-07-11 12:33:22 +03:00
inherit toolchain-funcs
2015-06-07 21:06:26 +03:00
DESCRIPTION = "High-level CPP Binding for ZeroMQ"
HOMEPAGE = "https://github.com/zeromq/cppzmq"
2015-08-24 15:08:46 +03:00
SRC_URI = " https://dev.gentoo.org/~jlec/distfiles/ ${ P } .tar.xz "
2015-06-07 21:06:26 +03:00
SLOT = "0"
LICENSE = "MIT"
2018-02-07 08:20:31 +03:00
KEYWORDS = "amd64 ~arm x86 ~amd64-linux ~x86-linux"
2015-06-07 21:06:26 +03:00
IUSE = ""
RDEPEND = ">=net-libs/zeromq-3"
DEPEND = ""
src_install( ) {
doheader zmq.hpp
dodoc README
}
2015-07-11 12:33:22 +03:00
src_test( ) {
$( tc-getCC) -c ./zmq.hpp -L ./.libs/ -I ./include/ -o ./test.o || die "This version of cppzmq is not compatible with the installed version of net-libs/zeromq"
rm -f ./test.o
}