meta-ros/v1-recipes-ros2/ament-cmake/ament-cmake.inc

21 lines
524 B
PHP
Raw Normal View History

HOMEPAGE = "https://github.com/ament/ament_cmake"
SRCREV = "af0789c46d03aabf6ee2cae360bf0487dd8a84d4"
SRC_URI = "git://github.com/ament/ament_cmake.git;protocol=git;"
inherit cmake python3native
ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
S = "${WORKDIR}/git/${ROS_BPN}"
do_install_append() {
rm -f ${D}${datadir}/${ROS_BPN}/local_setup.bash
rm -f ${D}${datadir}/${ROS_BPN}/local_setup.sh
rm -f ${D}${datadir}/${ROS_BPN}/local_setup.zsh
}
FILES_${PN} += "${datadir}"
BBCLASSEXTEND += "native"