* [oe] [meta-oe] [PATCH] libjs-jquery-cookie: Add recipe
@ 2021-09-27 2:02 Zang Ruochen
2021-09-27 15:43 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Zang Ruochen @ 2021-09-27 2:02 UTC (permalink / raw)
To: openembedded-devel
A simple, lightweight JavaScript API for handling browser cookies.
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
---
.../libjs/libjs-jquery-cookie_3.0.1.bb | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
new file mode 100644
index 0000000000..e10c6c4d33
--- /dev/null
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
@@ -0,0 +1,30 @@
+SUMMARY = "A simple, lightweight JavaScript API for handling cookies."
+HOMEPAGE = "https://github.com/js-cookie/js-cookie"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e16cf0e247d84f8999bf55865a9c98cf"
+
+SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=http"
+
+SRCREV = "0ba77141dd215782cc7770347a457906908c66ff"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "rpm"
+
+JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie"
+JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie"
+
+do_install() {
+ install -d ${D}${JQUERYCOOKIEDIR}
+ install -m 0644 ${S}/*.js ${D}${JQUERYCOOKIEDIR}
+ install -m 0644 ${S}/src/*.mjs ${D}${JQUERYCOOKIEDIR}
+ install -m 0644 ${S}/*.json ${D}${JQUERYCOOKIEDIR}
+
+ install -d ${D}${JQUERYCOOKIEDOCDIR}
+ install -m 0644 ${S}/*.md ${D}${JQUERYCOOKIEDOCDIR}
+
+}
+
+FILES:${PN} += "${datadir}/javascript/jquery-cookie"
+FILES:${PN}-doc += "${docdir}/libjs-jquery-cookie"
+
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [oe] [meta-oe] [PATCH] libjs-jquery-cookie: Add recipe
2021-09-27 2:02 [oe] [meta-oe] [PATCH] libjs-jquery-cookie: Add recipe Zang Ruochen
@ 2021-09-27 15:43 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-09-27 15:43 UTC (permalink / raw)
To: zangrc, openembedded-devel
On 9/26/21 7:02 PM, zangrc wrote:
> A simple, lightweight JavaScript API for handling browser cookies.
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
> ---
> .../libjs/libjs-jquery-cookie_3.0.1.bb | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
>
> diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
> new file mode 100644
> index 0000000000..e10c6c4d33
> --- /dev/null
> +++ b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.1.bb
> @@ -0,0 +1,30 @@
> +SUMMARY = "A simple, lightweight JavaScript API for handling cookies."
> +HOMEPAGE = "https://github.com/js-cookie/js-cookie"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=e16cf0e247d84f8999bf55865a9c98cf"
> +
> +SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=http"
> +
> +SRCREV = "0ba77141dd215782cc7770347a457906908c66ff"
> +
> +S = "${WORKDIR}/git"
> +
> +RDEPENDS_${PN} = "rpm"
Please use new override syntax. Secondly, does it really depend on rpm ?
> +
> +JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie"
> +JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie"
> +
> +do_install() {
> + install -d ${D}${JQUERYCOOKIEDIR}
> + install -m 0644 ${S}/*.js ${D}${JQUERYCOOKIEDIR}
> + install -m 0644 ${S}/src/*.mjs ${D}${JQUERYCOOKIEDIR}
> + install -m 0644 ${S}/*.json ${D}${JQUERYCOOKIEDIR}
> +
> + install -d ${D}${JQUERYCOOKIEDOCDIR}
> + install -m 0644 ${S}/*.md ${D}${JQUERYCOOKIEDOCDIR}
> +
> +}
> +
> +FILES:${PN} += "${datadir}/javascript/jquery-cookie"
> +FILES:${PN}-doc += "${docdir}/libjs-jquery-cookie"
> +
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#93136): https://lists.openembedded.org/g/openembedded-devel/message/93136
> Mute This Topic: https://lists.openembedded.org/mt/85891855/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-27 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 2:02 [oe] [meta-oe] [PATCH] libjs-jquery-cookie: Add recipe Zang Ruochen
2021-09-27 15:43 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.