summaryrefslogtreecommitdiffstats
path: root/meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb
blob: 62fed08a548b6b1a440a8d44df6da58acd9d4f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "YDLIDAR-SDK"
DESCRIPTION = "YDLIDAR-SDK as it a dependency for ydlidar_ros2_driver."
AUTHOR = "Shankho Boron Ghosh"
ROS_AUTHOR = "Shankho Boron Ghosh"
HOMEPAGE = "https://github.com/YDLIDAR/YDLIDAR/YDLidar-SDK"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e320231d59c825e45dbfda066af29c9"

SRC_URI = "git://github.com/YDLIDAR/YDLidar-SDK.git;protocol=https;branch=master"

SRCREV = "8b287ed831db0892f51793650b438790442fa09c"

S = "${WORKDIR}/git"

inherit cmake

FILES_${PN} += "${datadir} ${prefix}/startup"

do_install:append() {
    sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
}

RDEPENDS:${PN} += "bash"