Skip to content
Snippets Groups Projects
node-red-contrib-noble_0.3.0.bb 824 B
Newer Older
SUMMARY = "A package that provides a collection of Node-RED BLE nodes (noble package)"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"

DEPENDS = "nodejs-native"
RDEPENDS_${PN} += " bash node-red bluez5 libcap libcap-bin"

SECTION = "nodered-package"

SRC_URI = "https://github.com/kmi/${PN}/archive/v0.3.0.zip;name=pkg"
SRC_URI[pkg.md5sum] = "2916b652e333cc81ffdfaaa6f76e7f54"
SRC_URI[pkg.sha256sum] = "6a3f9fb6ec2269fa7c9cfab83407f0c4d01aa9a28ca00421e11ec28ef2e7dbc8"

S = "${WORKDIR}/${PN}-${PV}"

inherit npm-install-global

do_configure() {
    :
}

FILES_${PN}-staticdev += " \
    ${libdir_native}/node_modules/node-red-contrib-noble/node_modules/usb/build/Release/*/*.a \
    ${libdir_native}/node_modules/node-red-contrib-noble/node_modules/usb/build/Release/*.a \
"