diff --git a/recipes-extended/kdl/kdl.inc b/recipes-extended/kdl/kdl.inc new file mode 100644 index 0000000..61a1daa --- /dev/null +++ b/recipes-extended/kdl/kdl.inc @@ -0,0 +1,9 @@ +SRC_URI = "git://github.com/orocos/orocos_kinematics_dynamics.git" +SRCREV = "15fb082c10b58078841c14c067ac55f592733447" +PV = "1.1.102+git${SRCREV}" + +S = "${WORKDIR}/git/${@d.getVar('BPN', True).replace('-', '_')}" + +inherit cmake + +ROS_SPN = "kdl" diff --git a/recipes-extended/orocos-kdl/orocos-kdl_1.1.102-1.bb b/recipes-extended/kdl/orocos-kdl_1.1.102-1.bb similarity index 77% rename from recipes-extended/orocos-kdl/orocos-kdl_1.1.102-1.bb rename to recipes-extended/kdl/orocos-kdl_1.1.102-1.bb index 292e685..e657b66 100644 --- a/recipes-extended/orocos-kdl/orocos-kdl_1.1.102-1.bb +++ b/recipes-extended/kdl/orocos-kdl_1.1.102-1.bb @@ -3,13 +3,7 @@ SECTION = "devel" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=a8ffd58e6eb29a955738b8fcc9e9e8f2" -SRC_URI = "git://github.com/orocos/orocos_kinematics_dynamics.git" -SRCREV = "15fb082c10b58078841c14c067ac55f592733447" -PV = "1.1.102+git${SRCREV}" - -S = "${WORKDIR}/git/orocos_kdl" - -inherit cmake +require kdl.inc FILES_${PN}-dev += "/usr/share/orocos_kdl/package.xml /usr/share/orocos_kdl/orocos_kdl-config.cmake"