diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-04-21 10:49:49 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-04-21 11:07:36 +0200 |
commit | 99402b5dd733ed79db096f4cdcb09468e00fbb31 (patch) | |
tree | 1996625c89bdbbec316abaff1eddf0e5a6055526 /dev-ros/rosconsole/rosconsole-1.12.1.ebuild | |
parent | dev-ros/rosbag_storage: Bump to 1.12.1. (diff) | |
download | gentoo-99402b5dd733ed79db096f4cdcb09468e00fbb31.tar.gz gentoo-99402b5dd733ed79db096f4cdcb09468e00fbb31.tar.bz2 gentoo-99402b5dd733ed79db096f4cdcb09468e00fbb31.zip |
dev-ros/rosconsole: Bump to 1.12.1.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ros/rosconsole/rosconsole-1.12.1.ebuild')
-rw-r--r-- | dev-ros/rosconsole/rosconsole-1.12.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-ros/rosconsole/rosconsole-1.12.1.ebuild b/dev-ros/rosconsole/rosconsole-1.12.1.ebuild new file mode 100644 index 000000000000..7d1cc2938086 --- /dev/null +++ b/dev-ros/rosconsole/rosconsole-1.12.1.ebuild @@ -0,0 +1,39 @@ +# 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/ros_comm" +KEYWORDS="~amd64 ~arm" +ROS_SUBDIR=tools/${PN} + +inherit ros-catkin + +DESCRIPTION="ROS console output library" +LICENSE="BSD" +SLOT="0" +IUSE="+log4cxx glog" + +RDEPEND=" + dev-ros/cpp_common + dev-ros/rostime + dev-ros/rosunit + dev-libs/boost:=[threads] + log4cxx? ( dev-libs/log4cxx ) + !log4cxx? ( glog? ( dev-cpp/glog ) ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local ROSCONSOLE_BACKEND="" + if use log4cxx; then + ROSCONSOLE_BACKEND="log4cxx" + elif use glog; then + ROSCONSOLE_BACKEND="glog" + else + ROSCONSOLE_BACKEND="print" + fi + local mycatkincmakeargs=( "-DROSCONSOLE_BACKEND=${ROSCONSOLE_BACKEND}" ) + ros-catkin_src_configure +} |