summaryrefslogtreecommitdiff
blob: d0fe92f61e03a8a07329f21424fdb020a4655714 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
ROS_REPO_URI="https://github.com/ros/rosconsole_bridge"
KEYWORDS="~amd64 ~arm"

inherit ros-catkin

DESCRIPTION="Connects console_bridge-based logging to rosconsole-based logging"
LICENSE="BSD"
SLOT="0"
IUSE=""

RDEPEND="dev-libs/console_bridge
	dev-ros/rosconsole"
DEPEND="${RDEPEND}"

src_prepare() {
	# fix libdir
	sed -i \
		-e 's:DESTINATION lib:DESTINATION ${CMAKE_INSTALL_LIBDIR}:' \
		CMakeLists.txt || die
	ros-catkin_src_prepare
}