commit:     faad8baa62c9fda9111f38990441bf1df37ebf85
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 16:01:54 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 16:16:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faad8baa

sci-libs/orocos_kdl: install package.xml file in /usr/share/ros_packages/$PN

Package-Manager: portage-2.3.1

 sci-libs/orocos_kdl/files/gentoo.patch                         | 10 ++++++++++
 .../{orocos_kdl-1.3.0.ebuild => orocos_kdl-1.3.0-r1.ebuild}    |  3 ++-
 sci-libs/orocos_kdl/orocos_kdl-9999.ebuild                     |  3 ++-
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/sci-libs/orocos_kdl/files/gentoo.patch 
b/sci-libs/orocos_kdl/files/gentoo.patch
new file mode 100644
index 00000000..3766e12
--- /dev/null
+++ b/sci-libs/orocos_kdl/files/gentoo.patch
@@ -0,0 +1,10 @@
+Index: orocos_kdl/CMakeLists.txt
+===================================================================
+--- orocos_kdl.orig/CMakeLists.txt
++++ orocos_kdl/CMakeLists.txt
+@@ -114,4 +114,4 @@ INSTALL(FILES ${PROJECT_BINARY_DIR}/oroc
+ INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config-version.cmake 
DESTINATION share/orocos_kdl)
+ INSTALL(EXPORT OrocosKDLTargets DESTINATION share/orocos_kdl)
+ 
+-INSTALL(FILES package.xml DESTINATION share/orocos_kdl)
++INSTALL(FILES package.xml DESTINATION share/ros_packages/orocos_kdl)

diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild 
b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild
similarity index 94%
rename from sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild
rename to sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild
index 29a3169..fac6891 100644
--- a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild
+++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -33,6 +33,7 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="examples? ( models )"
 
 DOCS=( README )
+PATCHES=( "${FILESDIR}/gentoo.patch" )
 
 if [ "${PV#9999}" != "${PV}" ] ; then
        S=${WORKDIR}/${P}/orocos_kdl

diff --git a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild 
b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
index 29a3169..fac6891 100644
--- a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
+++ b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -33,6 +33,7 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="examples? ( models )"
 
 DOCS=( README )
+PATCHES=( "${FILESDIR}/gentoo.patch" )
 
 if [ "${PV#9999}" != "${PV}" ] ; then
        S=${WORKDIR}/${P}/orocos_kdl

Reply via email to