sci-libs/orocos_kdl: install package.xml file in /usr/share/ros_packages/$PN
authorAlexis Ballier <aballier@gentoo.org>
Fri, 7 Oct 2016 16:01:54 +0000 (18:01 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 7 Oct 2016 16:16:40 +0000 (18:16 +0200)
Package-Manager: portage-2.3.1

sci-libs/orocos_kdl/files/gentoo.patch [new file with mode: 0644]
sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild [moved from sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild with 94% similarity]
sci-libs/orocos_kdl/orocos_kdl-9999.ebuild

diff --git a/sci-libs/orocos_kdl/files/gentoo.patch b/sci-libs/orocos_kdl/files/gentoo.patch
new file mode 100644 (file)
index 0000000..3766e12
--- /dev/null
@@ -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)
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 29a3169e4b1c90e4fc8b948f994d855ad37d4347..fac689144b5700c2ba27810d1ab8d78b14c987bf 100644 (file)
@@ -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
index 29a3169e4b1c90e4fc8b948f994d855ad37d4347..fac689144b5700c2ba27810d1ab8d78b14c987bf 100644 (file)
@@ -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