mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-07-11 13:58:09 +00:00
Add oe-cache recipe for Node.js 24.16, replacing the existing 22.22 version. This provides the npm cache helper used during SDK builds. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
24 lines
509 B
BlitzBasic
24 lines
509 B
BlitzBasic
DESCRIPTION = "OE helper for manipulating npm cache"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
|
|
|
SRC_URI = "\
|
|
file://oe-npm-cache \
|
|
"
|
|
|
|
inherit native
|
|
|
|
S = "${UNPACKDIR}"
|
|
|
|
B = "${WORKDIR}/build"
|
|
|
|
do_configure() {
|
|
sed -e 's!@@libdir@@!${libdir}!g' < '${UNPACKDIR}/oe-npm-cache' > '${B}/oe-npm-cache'
|
|
}
|
|
|
|
do_install() {
|
|
install -D -p -m 0755 ${B}/oe-npm-cache ${D}${bindir}/oe-npm-cache
|
|
}
|
|
|
|
RDEPENDS:${PN} = "nodejs-native"
|