diff options
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.18.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.18.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.18.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.18.bb new file mode 100644 index 0000000000..1dcd1f7926 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.18.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | DESCRIPTION = "OE helper for manipulating npm cache" | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" | ||
| 4 | |||
| 5 | SRC_URI = "\ | ||
| 6 | file://oe-npm-cache \ | ||
| 7 | " | ||
| 8 | |||
| 9 | inherit native | ||
| 10 | |||
| 11 | S = "${UNPACKDIR}" | ||
| 12 | |||
| 13 | B = "${WORKDIR}/build" | ||
| 14 | |||
| 15 | do_configure() { | ||
| 16 | sed -e 's!@@libdir@@!${libdir}!g' < '${UNPACKDIR}/oe-npm-cache' > '${B}/oe-npm-cache' | ||
| 17 | } | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | install -D -p -m 0755 ${B}/oe-npm-cache ${D}${bindir}/oe-npm-cache | ||
| 21 | } | ||
| 22 | |||
| 23 | RDEPENDS:${PN} = "nodejs-native" | ||
