[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-devel
Subject:    Re: [oe] [meta-oe] [PATCH] libjs-jquery-cookie: Add recipe
From:       "Khem Raj" <raj.khem () gmail ! com>
Date:       2021-09-27 15:43:16
Message-ID: 107383eb-3eed-35e0-03f3-e46d427ab8c8 () gmail ! com
[Download RAW message or body]

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 (#93154): https://lists.openembedded.org/g/openembedded-devel/message/93154
Mute This Topic: https://lists.openembedded.org/mt/85891855/4455120
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [openembedded-devel@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic