meta-ros/recipes-ros/catkin/catkin-runtime_0.6.15.bb

27 lines
785 B
BlitzBasic

ROS_SPN = "catkin"
require catkin.inc
S = "${WORKDIR}/catkin-${PV}"
# This package includes ONLY the python packages AND catkin_find
# The catkin_${PV} package includes all other files
# from the catkin tool.
FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR} ${ros_bindir}/catkin_find"
RDEPENDS_${PN}_class-native = ""
RDEPENDS_${PN} = "\
python-catkin-pkg python-argparse python-misc python-multiprocessing \
python-shell python-subprocess python-xml python-pkgutil"
# Delete everything but the python packages in order to avoid
# that the QA error [installed-vs-shipped] hits on us.
do_install_append() {
rm ${D}${ros_bindir}/catkin_*_*
rm ${D}${ros_bindir}/catkin_make
rm -rf ${D}${ros_datadir}
rm -rf ${D}${ros_libdir}/pkgconfig
}
BBCLASSEXTEND += "native"