summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2020-06-30 15:17:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-02 16:18:03 +0100
commit3490c30f4311f418db39104f7ee9175a0d1e577a (patch)
tree9143dd21083c26befad6b8b672fbbf235a1590e4 /meta/recipes-devtools
parent3765bf48207bc2ee27376b943c1de18f5237c5da (diff)
downloadpoky-3490c30f4311f418db39104f7ee9175a0d1e577a.tar.gz
jquery: use ${S}
Currently, several files are unpacked to WORKDIR and installed. This makes them invisible to the archiver. Unpack to S. (From OE-Core rev: d2e6dbd7b3e30d144bf31cc8e287c8537ac25ebc) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/jquery/jquery_3.5.1.bb16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-devtools/jquery/jquery_3.5.1.bb b/meta/recipes-devtools/jquery/jquery_3.5.1.bb
index b4d7e80afe..62f0dfb0c5 100644
--- a/meta/recipes-devtools/jquery/jquery_3.5.1.bb
+++ b/meta/recipes-devtools/jquery/jquery_3.5.1.bb
@@ -2,12 +2,14 @@ SUMMARY = "jQuery is a fast, small, and feature-rich JavaScript library"
2HOMEPAGE = "https://jquery.com/" 2HOMEPAGE = "https://jquery.com/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4SECTION = "devel" 4SECTION = "devel"
5LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}.js;beginline=8;endline=10;md5=ebd7bc5d23ab165188e526a0c65d24bb" 5LIC_FILES_CHKSUM = "file://${S}/${BP}.js;beginline=8;endline=10;md5=ebd7bc5d23ab165188e526a0c65d24bb"
6 6
7# unpack items to ${S} so the archiver can see them
8#
7SRC_URI = "\ 9SRC_URI = "\
8 https://code.jquery.com/${BP}.js;name=js \ 10 https://code.jquery.com/${BP}.js;name=js;subdir=${BP} \
9 https://code.jquery.com/${BP}.min.js;name=min \ 11 https://code.jquery.com/${BP}.min.js;name=min;subdir=${BP} \
10 https://code.jquery.com/${BP}.min.map;name=map \ 12 https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \
11 " 13 "
12 14
13SRC_URI[js.sha256sum] = "416a3b2c3bf16d64f6b5b6d0f7b079df2267614dd6847fc2f3271b4409233c37" 15SRC_URI[js.sha256sum] = "416a3b2c3bf16d64f6b5b6d0f7b079df2267614dd6847fc2f3271b4409233c37"
@@ -20,9 +22,9 @@ inherit allarch
20 22
21do_install() { 23do_install() {
22 install -d ${D}${datadir}/javascript/${BPN}/ 24 install -d ${D}${datadir}/javascript/${BPN}/
23 install -m 644 ${WORKDIR}/${BP}.js ${D}${datadir}/javascript/${BPN}/${BPN}.js 25 install -m 644 ${S}/${BP}.js ${D}${datadir}/javascript/${BPN}/${BPN}.js
24 install -m 644 ${WORKDIR}/${BP}.min.js ${D}${datadir}/javascript/${BPN}/${BPN}.min.js 26 install -m 644 ${S}/${BP}.min.js ${D}${datadir}/javascript/${BPN}/${BPN}.min.js
25 install -m 644 ${WORKDIR}/${BP}.min.map ${D}${datadir}/javascript/${BPN}/${BPN}.min.map 27 install -m 644 ${S}/${BP}.min.map ${D}${datadir}/javascript/${BPN}/${BPN}.min.map
26} 28}
27 29
28PACKAGES = "${PN}" 30PACKAGES = "${PN}"