diff options
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb')
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb new file mode 100644 index 0000000000..d4b818f967 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb | |||
@@ -0,0 +1,24 @@ | |||
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 = "${WORKDIR}/sources" | ||
12 | UNPACKDIR = "${S}" | ||
13 | |||
14 | B = "${WORKDIR}/build" | ||
15 | |||
16 | do_configure() { | ||
17 | sed -e 's!@@libdir@@!${libdir}!g' < '${UNPACKDIR}/oe-npm-cache' > '${B}/oe-npm-cache' | ||
18 | } | ||
19 | |||
20 | do_install() { | ||
21 | install -D -p -m 0755 ${B}/oe-npm-cache ${D}${bindir}/oe-npm-cache | ||
22 | } | ||
23 | |||
24 | RDEPENDS:${PN} = "nodejs-native" | ||