dev-ros/rosbash: Initial import. Ebuild by me.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 22 Sep 2015 11:45:44 +0000 (13:45 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 22 Sep 2015 11:45:44 +0000 (13:45 +0200)
Package-Manager: portage-2.2.21

dev-ros/rosbash/Manifest [new file with mode: 0644]
dev-ros/rosbash/files/catkin_prefix.patch [new file with mode: 0644]
dev-ros/rosbash/metadata.xml [new file with mode: 0644]
dev-ros/rosbash/rosbash-1.12.3.ebuild [new file with mode: 0644]
dev-ros/rosbash/rosbash-9999.ebuild [new file with mode: 0644]

diff --git a/dev-ros/rosbash/Manifest b/dev-ros/rosbash/Manifest
new file mode 100644 (file)
index 0000000..02c7ccc
--- /dev/null
@@ -0,0 +1 @@
+DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
diff --git a/dev-ros/rosbash/files/catkin_prefix.patch b/dev-ros/rosbash/files/catkin_prefix.patch
new file mode 100644 (file)
index 0000000..fce54f5
--- /dev/null
@@ -0,0 +1,13 @@
+Index: rosbash/scripts/rosrun
+===================================================================
+--- rosbash.orig/scripts/rosrun
++++ rosbash/scripts/rosrun
+@@ -47,7 +47,7 @@ case $2 in
+     ;;
+ esac
+-if [[ -n $CMAKE_PREFIX_PATH ]]; then
++if [[ -n $CMAKE_PREFIX_PATH || -n $CATKIN_PREFIX_PATH ]]; then
+   catkin_package_libexec_dir=`catkin_find --without-underlays --libexec --share $1 2> /dev/null`
+   debug "Looking in catkin libexec dir: $catkin_package_libexec_dir"
+ fi
diff --git a/dev-ros/rosbash/metadata.xml b/dev-ros/rosbash/metadata.xml
new file mode 100644 (file)
index 0000000..c42ea5b
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ros</herd>
+</pkgmetadata>
diff --git a/dev-ros/rosbash/rosbash-1.12.3.ebuild b/dev-ros/rosbash/rosbash-1.12.3.ebuild
new file mode 100644 (file)
index 0000000..300eb4b
--- /dev/null
@@ -0,0 +1,20 @@
+# 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"
+KEYWORDS="~amd64 ~arm"
+ROS_SUBDIR=tools/${PN}
+
+inherit ros-catkin
+
+DESCRIPTION="Assorted shell commands for using ros with bash"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/catkin_prefix.patch" )
diff --git a/dev-ros/rosbash/rosbash-9999.ebuild b/dev-ros/rosbash/rosbash-9999.ebuild
new file mode 100644 (file)
index 0000000..300eb4b
--- /dev/null
@@ -0,0 +1,20 @@
+# 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"
+KEYWORDS="~amd64 ~arm"
+ROS_SUBDIR=tools/${PN}
+
+inherit ros-catkin
+
+DESCRIPTION="Assorted shell commands for using ros with bash"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/catkin_prefix.patch" )