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

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
}