1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit cmake-utils vcs-snapshot flag-o-matic
9 DESCRIPTION="Combines ZeroMQ with Protobufs to create a fast and efficient message passing system"
10 HOMEPAGE="http://ignitionrobotics.org/libraries/transport"
11 SRC_URI="http://gazebosim.org/distributions/ign-transport/releases/${P}.tar.bz2"
20 >=net-libs/zeromq-3.2.0:=
27 CMAKE_BUILD_TYPE=RelWithDebInfo
28 PATCHES=( "${FILESDIR}/protobuf3.patch" )
31 # upstream appends this conditionally...
33 echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake"
34 sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
35 cmake-utils_src_configure